foo.cc: In function 'void init()':
foo.cc:59:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
59 | scanf("%I64d",&n);
| ~~~~^ ~~
| | |
| | ll* {aka long long int*}
| int*
| %I64lld
foo.cc:62:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
62 | printf("%I64d\n",best);
| ~~~~^ ~~~~
| | |
| int ll {aka long long int}
| %I64lld
foo.cc: In function 'bool check(ll)':
foo.cc:34:1: warning: control reaches end of non-void function [-Wreturn-type]
34 | }
| ^
[Hydro](https://hydro.ac)提供评测服务