Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    7 |     if(a>b>c||a>c>b)
      |        ~^~
foo.cc:7:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    7 |     if(a>b>c||a>c>b)
      |               ~^~
foo.cc:9:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    9 |     else if(b>a>c||b>c>a)
      |             ~^~
foo.cc:9:21: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    9 |     else if(b>a>c||b>c>a)
      |                    ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 12, expect 45. 2ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 1ms 284.0 KiB
#5 Wrong Answer Read 12, expect 90. 3ms 284.0 KiB
#6 Wrong Answer Read 123, expect 567. 2ms 284.0 KiB
#7 Wrong Answer Read 678, expect 789. 2ms 284.0 KiB
#8 Wrong Answer Read 123, expect 789. 2ms 332.0 KiB
#9 Accepted 2ms 328.0 KiB
#10 Accepted 2ms 328.0 KiB

信息

递交者
类型
递交
题目
P1000 求三个数的最大数
语言
C++
递交时间
2023-05-23 20:15:05
评测时间
2023-05-23 20:15:05
评测机
分数
50
总耗时
24ms
峰值内存
332.0 KiB