foo.cc: In function 'int main()':
foo.cc:14:26: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
14 | scanf("%ld",&f);
| ~~^ ~~
| | |
| | ll* {aka long long int*}
| long int*
| %lld
foo.cc:25:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
25 | printf("%ld ",it->first);
| ~~^ ~~~~~~~~~
| | |
| | long long int
| long int
| %lld
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务