Wrong Answer

foo.cc: In function 'int main()':
foo.cc:15:6: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
   15 |   sum+=a;
      |   ~~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1352917683, expect 3. 5ms 384.0 KiB
#2 Wrong Answer Read 1290867382, expect 6. 4ms 384.0 KiB
#3 Wrong Answer Read 242307770, expect 10. 4ms 384.0 KiB
#4 Wrong Answer Read -793365825, expect 15. 4ms 384.0 KiB
#5 Wrong Answer Read 1957110449, expect 1. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1033 任意整数的数字之和。
语言
C++
递交时间
2022-07-09 07:19:42
评测时间
2022-07-09 07:19:42
评测机
分数
0
总耗时
22ms
峰值内存
384.0 KiB