记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:11:23: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   11 |                 if ((c<a<b)||(b<a<c))
      |                      ~^~
foo.c:11:32: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   11 |                 if ((c<a<b)||(b<a<c))
      |                               ~^~
foo.c:13:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   13 |         if ((c < b < a) || (a < b < c))
      |              ~~^~~
foo.c:13:31: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   13 |         if ((c < b < a) || (a < b < c))
      |                             ~~^~~
foo.c:15:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   15 |         if ((b < c < a) || (a < c < a))
      |              ~~^~~
foo.c:15:31: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   15 |         if ((b < c < a) || (a < c < a))
      |                             ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 5, expect 3. 1ms 284.0 KiB

信息

递交者
类型
自测
题目
A1-2 分支结构练习:三数的特征值
语言
C
递交时间
2023-09-24 19:43:45
评测时间
2023-09-24 19:43:45
评测机
分数
0
总耗时
1ms
峰值内存
284.0 KiB