Compile Error
foo.cc: In function ‘int main()’: foo.cc:7:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7 | if(n>=90) | ^~ foo.cc:8:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 8 | cnt++;+ | ^ foo.cc:9:5: error: expected primary-expression before ‘if’ 9 | if(m>=90) | ^~ foo.cc:15:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 15 | if(n>=90&&m>=90&&b>=90||c>=90) | ~~~~~~~~~~~~^~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1725 羊村高考加几分
- 语言
- C++
- 递交时间
- 2025-07-27 10:38:19
- 评测时间
- 2025-07-27 10:38:19
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes