Wrong Answer

foo.cc: In function 'int main()':
foo.cc:14:15: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   14 |         cout<<sum;
      |               ^~~
foo.cc:6:17: note: 'sum' was declared here
    6 |         int b,n,sum;
      |                 ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1231896569, expect 1. 4ms 336.0 KiB
#2 Wrong Answer Read -1887292297, expect 15. 4ms 412.0 KiB
#3 Wrong Answer Read 1579551802, expect 18. 3ms 284.0 KiB
#4 Wrong Answer Read -23152987, expect 45. 3ms 284.0 KiB
#5 Wrong Answer Read -1988298866, expect 22. 3ms 284.0 KiB

信息

递交者
类型
递交
题目
P1059 A4-1 回文数专题:数字之和
语言
C++
递交时间
2023-11-23 21:20:56
评测时间
2023-11-23 21:20:56
评测机
分数
0
总耗时
20ms
峰值内存
412.0 KiB