foo.cc: In function 'int main()':
foo.cc:7:6: warning: unused variable 'max' [-Wunused-variable]
int max=0;
^~~
foo.cc:8: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:11: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)提供评测服务