Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:25:31: warning: comparison of constant '85' with boolean expression is always false [-Wbool-compare] if(stu[i].class_scores > 80 > 85 && stu[i].student_cadre == 'Y') stu[i].scholarship += 850; ^ /in/foo.cc:25:26: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if(stu[i].class_scores > 80 > 85 && stu[i].student_cadre == 'Y') stu[i].scholarship += 850; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P3018 谁拿了最多奖学金
- 语言
- C++
- 递交时间
- 2020-08-13 16:53:40
- 评测时间
- 2020-08-13 16:53:40
- 评测机
- 分数
- 0
- 总耗时
- 14ms
- 峰值内存
- 204.0 KiB