Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:9:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (X!=0); ^~~~~ /in/foo.cc:10:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' { ^ /in/foo.cc:12:11: error: 'x' was not declared in this scope sum+=x%10; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1030 1~N求和
- 语言
- C++
- 递交时间
- 2021-12-11 20:48:46
- 评测时间
- 2021-12-11 20:48:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes