OJ-Problems-Source/CodeVS/2989_冰封.c

22 lines
414 B
C
Raw Permalink Normal View History

2016-07-06 14:28:18 +08:00
/*
:
:p2989 somebody
*/
#include <stdio.h>
int main(int argc, char* argv[]) {
int a, b, k, i, j, m;
scanf("%i%i%i", &a, &b, &k);
for(i = 0; i < a; i++)
for(j = 0; j < b; j++){
scanf("%i", &m);
if(m == k) {
printf("%i %i", ++i, ++j);
return 0;
}
}
printf("biantai");
return 0;
}