Wrong Answer

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

信息

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