Wrong Answer
foo.cc: In function 'int main()': foo.cc:6:8: warning: unused variable 'm' [-Wunused-variable] int n,m,sum; ^ foo.cc:7:16: warning: 'n' is used uninitialized in this function [-Wuninitialized] for(int i=1; i<=n;i++) ~^~~ foo.cc:11:6: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<sum; ~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1029 1~N求和
- 语言
- C++
- 递交时间
- 2021-11-27 10:07:57
- 评测时间
- 2021-11-27 10:07:57
- 评测机
- 分数
- 0
- 总耗时
- 3ms
- 峰值内存
- 384.0 KiB