foo.cc: In function 'int main()':
foo.cc:19:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&f[i][i]);
~~~~~~~~^
foo.cc:40:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",f[1][n]);
~~~~~~~^
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&f[i][i]);
~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务