foo.cc: In function 'bool shan(int (*)[500], int, int, int, int, int)':
foo.cc:17:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a[k1-1][k2]>x)
^~
foo.cc:19:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
k1=i,k2=j;
^~
foo.cc: In function 'int main()':
foo.cc:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&m,&n);
~~~~~^~~~~~~~~~~~~~~
foo.cc:32:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务