记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:34:15: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   34 |         cout<<sum;
      |               ^~~
foo.cc:5:17: note: 'sum' was declared here
    5 |         int a,b,sum;
      |                 ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1847426771, expect 5. 4ms 412.0 KiB
#2 Wrong Answer Read -1247963090, expect 6. 4ms 284.0 KiB
#3 Wrong Answer Read 641095903, expect 7. 3ms 412.0 KiB
#4 Wrong Answer Read 812361391, expect 7. 3ms 412.0 KiB
#5 Wrong Answer Read 1997214918, expect 14. 3ms 412.0 KiB
#6 Wrong Answer Read -1024649792, expect 8. 3ms 364.0 KiB
#7 Wrong Answer Read -2114388844, expect 12. 3ms 412.0 KiB
#8 Wrong Answer Read -131513716, expect 4. 3ms 412.0 KiB
#9 Wrong Answer Read -272034558, expect 10. 3ms 328.0 KiB
#10 Wrong Answer Read 1842120073, expect 17. 3ms 412.0 KiB
#11 Wrong Answer Read 1781241171, expect 107. 4ms 412.0 KiB
#12 Wrong Answer Read 536014332, expect 116. 3ms 412.0 KiB
#13 Wrong Answer Read -913948209, expect 55. 3ms 328.0 KiB
#14 Wrong Answer Read 1322507636, expect 76. 3ms 412.0 KiB
#15 Wrong Answer Read -1088970321, expect 167. 3ms 412.0 KiB
#16 Wrong Answer Read -282954079, expect 89. 3ms 332.0 KiB
#17 Wrong Answer Read 424500328, expect 64. 3ms 412.0 KiB
#18 Wrong Answer Read -1384080898, expect 86. 3ms 400.0 KiB
#19 Wrong Answer Read 656663892, expect 76. 4ms 412.0 KiB
#20 Wrong Answer Read -991485121, expect 151. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1506 2. Battery low
比赛
2023秋 苏州青少年科技馆(吴江计算机协会)CSP-J/S模拟赛(1)
语言
C++
递交时间
2023-10-07 19:55:48
评测时间
2023-10-07 19:55:48
评测机
分数
0
总耗时
77ms
峰值内存
412.0 KiB