maxcomp.cpp: In function 'int main()':
maxcomp.cpp:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d %d\n",&a,&b);
| ~~~~~^~~~~~~~~~~~~~~~~
maxcomp.cpp:9:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | if(j!=b) scanf("%d ",&f[i][j]); else scanf("%d",&f[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~
maxcomp.cpp:9:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | if(j!=b) scanf("%d ",&f[i][j]); else scanf("%d",&f[i][j]);
| ~~~~~^~~~~~~~~~~~~~~
maxcomp.cpp:11:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | if(i!=a) scanf("\n");
| ~~~~~^~~~~~