foo.cc: In function 'int main()':
foo.cc:31:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
31 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
foo.cc:31:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
31 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
foo.cc: In function 'long long int solvex(long long int)':
foo.cc:15:1: warning: control reaches end of non-void function [-Wreturn-type]
15 | }
| ^
foo.cc: In function 'long long int solvey(long long int)':
foo.cc:24:1: warning: control reaches end of non-void function [-Wreturn-type]
24 | }
| ^
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务