foo.cc: In function 'int main()':
foo.cc:131:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL*' {aka 'long long int*'} [-Wformat=]
131 | scanf("%d%d",&t,&k);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
foo.cc:131:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'LL*' {aka 'long long int*'} [-Wformat=]
131 | scanf("%d%d",&t,&k);
| ~^ ~~
| | |
| int* LL* {aka long long int*}
| %lld
foo.cc: In function 'void solve()':
foo.cc:119:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
119 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:131:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
131 | scanf("%d%d",&t,&k);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务