Untitled
raw download clone
TEXT
views 28
,
size 371 b
//12661
#include<stdio.h>

int main(void){

  int t, n, m, k;
  int A[5001];
  scanf("%d", &t);
  for(int i=0; i<t; i++){
    scanf("%d%d%d", &n, &m, &k);
    for(int j=1; j<=n; j++){
            scanf("%d", &A[j]);
    }
  }
  for(int j=1; j<=k; j++){
    if(A[j]<A[n])
        A[j] == 0;
    //printf("%d", A[j]);
  }
  //選小的!
return 0;
}
close fullscreen
Login or Register to edit or fork this paste. It's free.