/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main(int, char**)':
foo.cc:46:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'i64*' {aka 'long int*'} [-Wformat=]
   46 |                 scanf("%d%d", a + i, z + i);
      |                        ~^     ~~~~~
      |                         |       |
      |                         int*    i64* {aka long int*}
      |                        %ld
foo.cc:46:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'i64*' {aka 'long int*'} [-Wformat=]
   46 |                 scanf("%d%d", a + i, z + i);
      |                          ~^          ~~~~~
      |                           |            |
      |                           int*         i64* {aka long int*}
      |                          %ld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 640.0 KiB
#2 Accepted 2ms 640.0 KiB
#3 Accepted 5ms 640.0 KiB
#4 Accepted 5ms 640.0 KiB
#5 Accepted 6ms 512.0 KiB
#6 Accepted 4ms 512.0 KiB
#7 Accepted 3ms 512.0 KiB
#8 Wrong Answer Read 884, expect 4258. 5ms 768.0 KiB
#9 Accepted 73ms 760.0 KiB
#10 Wrong Answer Read 2661, expect 3974. 19ms 768.0 KiB

信息

递交者
类型
递交
题目
P1488 路灯的改建计划
语言
C++
递交时间
2022-10-02 19:27:48
评测时间
2022-10-02 19:27:48
评测机
分数
80
总耗时
131ms
峰值内存
768.0 KiB