Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:12: warning: 'sum' is used uninitialized [-Wuninitialized]
   11 |         sum=sum+l;
      |         ~~~^~~~~~
foo.cc:5:19: note: 'sum' was declared here
    5 |         int n,m,x,sum,l;
      |                   ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 5. 4ms 332.0 KiB
#2 Wrong Answer Read 1, expect 6. 3ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Wrong Answer Read 1, expect 50. 4ms 328.0 KiB
#5 Wrong Answer Read 1, expect 62. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1699 征用运载车
语言
C++
递交时间
2023-11-12 22:17:00
评测时间
2023-11-12 22:17:00
评测机
分数
20
总耗时
20ms
峰值内存
412.0 KiB