Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a<b<c)
     ~^~
/in/foo.cc:9:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(a<c<b)
          ~^~
/in/foo.cc:11:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(b<a<c)
          ~^~
/in/foo.cc:13:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(b<c<a)
          ~^~
/in/foo.cc:15:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  else if(c<a<b)
          ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 416.0 KiB
#2 Wrong Answer 1ms 328.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 328.0 KiB
#5 Wrong Answer 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1058 A1-2 分支结构练习:三数的特征值
语言
C++
递交时间
2024-11-29 14:07:45
评测时间
2024-11-29 14:07:45
评测机
分数
20
总耗时
7ms
峰值内存
416.0 KiB