Wrong Answer

foo.cc: In function 'int main()':
foo.cc:18:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   18 |                 if(a[i]+m>a[i+1])
      |                 ^~
foo.cc:20:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   20 |                         total+=c-a[i+1];
      |                         ^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -293, expect 0. 1ms 256.0 KiB
#2 Wrong Answer Read -444, expect 0. 2ms 256.0 KiB
#3 Wrong Answer Read 40, expect 5. 1ms 256.0 KiB
#4 Wrong Answer Read 40, expect 6. 2ms 256.0 KiB
#5 Wrong Answer Read 39, expect 6. 2ms 256.0 KiB
#6 Wrong Answer Read 39, expect 8. 3ms 256.0 KiB
#7 Wrong Answer Read 50006, expect 18401. 3ms 256.0 KiB
#8 Wrong Answer Read 50018, expect 18644. 3ms 256.0 KiB
#9 Wrong Answer Read 50004, expect 18078. 4ms 256.0 KiB
#10 Wrong Answer Read 50012, expect 18082. 3ms 256.0 KiB
#11 Wrong Answer Read 4965, expect 1370. 1ms 256.0 KiB
#12 Wrong Answer Read 4970, expect 1361. 3ms 384.0 KiB
#13 Wrong Answer Read 4964, expect 1386. 1ms 256.0 KiB
#14 Wrong Answer Read 4958, expect 1407. 1ms 256.0 KiB
#15 Wrong Answer Read 49555, expect 13482. 2ms 256.0 KiB
#16 Wrong Answer Read 49460, expect 13344. 2ms 256.0 KiB
#17 Wrong Answer Read 49594, expect 13266. 2ms 256.0 KiB
#18 Wrong Answer Read 49608, expect 13366. 2ms 256.0 KiB
#19 Wrong Answer Read 49542, expect 13357. 2ms 256.0 KiB
#20 Wrong Answer Read 49552, expect 13568. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P2179 摆渡车
语言
C++
递交时间
2022-10-05 23:04:20
评测时间
2022-10-05 23:04:20
评测机
分数
0
总耗时
49ms
峰值内存
384.0 KiB