foo.cc: In function 'int main()':
foo.cc:29:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint*' {aka 'long long int*'} [-Wformat=]
29 | scanf("%I64d%I64d",&n,&k); ans = 0;
| ~~~~^ ~~
| | |
| int* lint* {aka long long int*}
| %I64lld
foo.cc:29:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'lint*' {aka 'long long int*'} [-Wformat=]
29 | scanf("%I64d%I64d",&n,&k); ans = 0;
| ~~~~^ ~~
| | |
| int* lint* {aka long long int*}
| %I64lld
foo.cc:31:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'lint*' {aka 'long long int*'} [-Wformat=]
31 | scanf("%I64d",&num);
| ~~~~^ ~~~~
| | |
| | lint* {aka long long int*}
| int*
| %I64lld
foo.cc:41:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'lint' {aka 'long long int'} [-Wformat=]
41 | printf("%I64d\n",ans % 1234567);
| ~~~~^ ~~~~~~~~~~~~~
| | |
| int lint {aka long long int}
| %I64lld
[Hydro](https://hydro.ac)提供评测服务