Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(zi<0&&mu>0||zi>0&&mu>0)cout<<zi<<'/'<<mu<<endl;
       ~~~~^~~~~~
/in/foo.cc:28:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    else if(zi>0&&mu<0||zi<0&&mu<0)cout<<-zi<<'/'<<-mu<<endl;
            ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Wrong Answer 3ms 440.0 KiB
#3 Accepted 15ms 328.0 KiB
#4 Wrong Answer 8ms 356.0 KiB
#5 Accepted 16ms 356.0 KiB
#6 Wrong Answer 17ms 356.0 KiB
#7 Accepted 16ms 416.0 KiB
#8 Accepted 17ms 336.0 KiB
#9 Wrong Answer 11ms 324.0 KiB
#10 Wrong Answer 8ms 352.0 KiB

信息

递交者
类型
递交
题目
P2474 一元二次方程
语言
C++
递交时间
2024-10-04 17:04:10
评测时间
2024-10-04 17:04:10
评测机
分数
50
总耗时
117ms
峰值内存
440.0 KiB