foo.cc: In function 'int main()':
foo.cc:20:9: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
20 | scanf("%d%d", &n, &k);
| ~^ ~~
| | |
| int* long long int*
| %lld
foo.cc:20:11: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
20 | scanf("%d%d", &n, &k);
| ~^ ~~
| | |
| int* long long int*
| %lld
foo.cc:23:9: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
23 | scanf("%d", &m[i][j]);
| ~^ ~~~~~~~~
| | |
| | long long int*
| int*
| %lld
foo.cc:20:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | scanf("%d%d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:23:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
23 | scanf("%d", &m[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务