Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:10:25: error: 'n' was not declared in this scope for (int i = 1; i <= n; i++) ^ /in/foo.cc:12:7: error: 'sun' was not declared in this scope sun += i; ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- p1027 1~N求和
- 语言
- C++
- 递交时间
- 2021-12-05 09:41:56
- 评测时间
- 2021-12-05 09:41:56
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes