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