foo.cc: In function 'int main()':
foo.cc:53:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
53 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
foo.cc:53:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
53 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
foo.cc:56:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
56 | scanf("%d",&v[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
foo.cc:62:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
62 | scanf("%d",&nums[i][j]);
| ~^ ~~~~~~~~~~~
| | |
| | long long int*
| int*
| %lld
foo.cc:65:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
65 | printf("%d",DopingControl());
| ~^ ~~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
foo.cc: In function 'long long int DopingControl()':
foo.cc:48:16: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
48 | return p;
| ^
[Hydro](https://hydro.ac)提供评测服务