/ OPS /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    9 |             if (x > y > z) cout << z <<' ' << y <<' ' << x << endl;
      |                 ~~^~~
/in/foo.cc:10:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   10 |             if (x > z > y) cout << y<<' ' << z <<' ' << x << endl;
      |                 ~~^~~
/in/foo.cc:11:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   11 |             if (y > z > x) cout << x <<' ' << z <<' ' << y << endl;
      |                 ~~^~~
/in/foo.cc:12:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   12 |             if (y > x > z) cout << z <<' ' << x <<' ' << y << endl;
      |                 ~~^~~
/in/foo.cc:13:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   13 |             if (z > x > y) cout << y <<' ' << x <<' ' << z << endl;
      |                 ~~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 344.0 KiB

信息

递交者
类型
递交
题目
P1072 百钱买百鸡问题
语言
C++
递交时间
2025-02-07 11:22:55
评测时间
2025-02-07 11:22:55
评测机
分数
0
总耗时
3ms
峰值内存
344.0 KiB