Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a<b<c)
     ~^~
/in/foo.cc:20:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(c<b<a)
     ~^~
/in/foo.cc:26:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a<c<b)
     ~^~
/in/foo.cc:32:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(b<c<a)
     ~^~
/in/foo.cc:38:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(c<a<b)
     ~^~
/in/foo.cc:44:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(b<a<c)
     ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 356.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Accepted 1ms 404.0 KiB

信息

递交者
类型
递交
题目
P1057 A1-2 分支结构练习:三数的特征值
语言
C++
递交时间
2024-02-24 22:38:16
评测时间
2024-02-24 22:38:16
评测机
分数
40
总耗时
7ms
峰值内存
404.0 KiB