Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 98ms 4.316 MiB
#3 Accepted 101ms 6.379 MiB
#4 Accepted 137ms 8.367 MiB
#5 Accepted 197ms 10.367 MiB
#6 Accepted 272ms 12.367 MiB

信息

递交者
类型
递交
题目
P1849 宇宙微波接收器
语言
C++
递交时间
2022-08-15 19:20:09
评测时间
2022-08-15 19:20:09
评测机
分数
100
总耗时
811ms
峰值内存
12.367 MiB