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