foo.cc: In function 'int main()':
foo.cc:26:15: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
26 | scanf("%lld%lld",&n,&m);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
foo.cc:26:19: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
26 | scanf("%lld%lld",&n,&m);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
foo.cc:28:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
28 | scanf("%lld%lld",&x,&y),f[i][1]=y,add(x,i);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
foo.cc:28:23: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
28 | scanf("%lld%lld",&x,&y),f[i][1]=y,add(x,i);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
foo.cc:30:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
30 | printf("%lld\n",f[0][m+1]);
| ~~~^ ~~~~~~~~~
| | |
| | int
| long long int
| %d
[Hydro](https://hydro.ac)提供评测服务