foo.cc: In function 'int main()':
foo.cc:19:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
19 | scanf("%d",&a[i][j]);
| ~^ ~~~~~~~~
| | |
| | long long int*
| int*
| %lld
foo.cc:16:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | scanf("%d %d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~~
foo.cc:19:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
19 | scanf("%d",&a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~
foo.cc:13:13: warning: iteration 79 invokes undefined behavior [-Waggressive-loop-optimizations]
13 | p[i]=p[i-1]*2;
| ~~~~^~~~~~~~~
foo.cc:12:18: note: within this loop
12 | for(int i=1;i<=80;i++){
| ~^~~~
[Hydro](https://hydro.ac)提供评测服务