Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:10: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,m,sum;
          ^~~
foo.cc:5:8: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,m,sum;
        ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 66. 1ms 384.0 KiB
#2 Wrong Answer Read 0, expect 231. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1029 1~N求和
语言
C++
递交时间
2021-11-27 10:09:42
评测时间
2021-11-27 10:09:42
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB