Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:14:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 14 | if(del<0&&a>m||b>m||c>m) | ~~~~~^~~~~ foo.cc:27:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 27 | if(zi<0&&mu>0||zi>0&&mu>0)cout<<zi<<'/'<<mu<<endl; | ~~~~^~~~~~ foo.cc:28:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 28 | else if(zi>0&&mu<0||zi<0&&mu<0)cout<<-zi<<'/'<<-mu<<endl; | ~~~~^~~~~~
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P2474 一元二次方程
- 语言
- C++
- 递交时间
- 2024-10-04 17:02:34
- 评测时间
- 2024-10-04 17:02:34
- 评测机
- 分数
- 20
- 总耗时
- 87ms
- 峰值内存
- 584.0 KiB