Compile Error
foo.cc: In function ‘int main()’: foo.cc:7:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 7 | for(int i=s.size()-1;i>=0;i--); | ^~~ foo.cc:8:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 8 | { | ^ foo.cc:9:27: error: ‘i’ was not declared in this scope 9 | if('0'<=s[i]&&s[i]<='9') | ^
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2024-05-09 14:52:00
- 评测时间
- 2024-05-09 14:52:00
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes