foo.cc: In function 'int main()':
foo.cc:24:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int64_t*' {aka 'long int*'} [-Wformat=]
24 | scanf("%d%d", &n, &S);
| ~^ ~~
| | |
| int* int64_t* {aka long int*}
| %ld
foo.cc:24:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int64_t*' {aka 'long int*'} [-Wformat=]
24 | scanf("%d%d", &n, &S);
| ~^ ~~
| | |
| int* int64_t* {aka long int*}
| %ld
foo.cc:28:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int64_t*' {aka 'long int*'} [-Wformat=]
28 | scanf("%d%d", t+i, f+i);
| ~^ ~~~
| | |
| int* int64_t* {aka long int*}
| %ld
foo.cc:28:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int64_t*' {aka 'long int*'} [-Wformat=]
28 | scanf("%d%d", t+i, f+i);
| ~^ ~~~
| | |
| int* int64_t* {aka long int*}
| %ld
foo.cc:66:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=]
66 | printf("%lld\n", dp[n]);
| ~~~^ ~~~~~
| | |
| | int64_t {aka long int}
| long long int
| %ld
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务