Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:7:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 7 | if(a>=60&&b<60||b>=60&&a<60) | ~~~~~^~~~~~ foo.cc:8:21: warning: ‘flag’ may be used uninitialized [-Wmaybe-uninitialized] 8 | flag++; | ~~~~^~ foo.cc:5:17: note: ‘flag’ was declared here 5 | int a,b,flag; | ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1714 有一门课不及格的学生
- 语言
- C++
- 递交时间
- 2024-04-13 07:02:59
- 评测时间
- 2024-04-13 07:02:59
- 评测机
- 分数
- 40
- 总耗时
- 15ms
- 峰值内存
- 540.0 KiB