Compile Error
foo.cc: In function 'int main()': foo.cc:11:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 11 | else(a>2);5 | ^~~~ foo.cc:11:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 11 | else(a>2);5 | ^ foo.cc:11:13: error: expected ';' before 'cout' 11 | else(a>2);5 | ^ | ; 12 | cout<<21+4*(a-2); | ~~~~ foo.cc:11:12: warning: statement has no effect [-Wunused-value] 11 | else(a>2);5 | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 比赛
- 202112初一阶段反馈赛
- 语言
- C++
- 递交时间
- 2021-12-11 09:48:37
- 评测时间
- 2021-12-11 09:48:37
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes