记录详情

Wrong Answer

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

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
语言
C
递交时间
2022-10-04 14:33:42
评测时间
2022-10-04 14:33:42
评测机
分数
20
总耗时
8ms
峰值内存
256.0 KiB