Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:9: warning: 'n' is used uninitialized in this function [-Wuninitialized]
    6 |  while(n!=0)
      |        ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 3. 3ms 512.0 KiB
#2 Wrong Answer Read 0, expect 6. 3ms 384.0 KiB
#3 Wrong Answer Read 0, expect 10. 2ms 384.0 KiB
#4 Wrong Answer Read 0, expect 15. 2ms 384.0 KiB
#5 Wrong Answer Read 0, expect 1. 2ms 384.0 KiB

信息

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