Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a>b>c||a>c>b) x=a;
     ~^~
foo.cc:9:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a>b>c||a>c>b) x=a;
            ~^~
foo.cc:11:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   if(b>a>c||b>c>a) x=b;
      ~^~
foo.cc:11:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   if(b>a>c||b>c>a) x=b;
             ~^~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 5, expect 3. 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Wrong Answer Read 2, expect 3. 1ms 384.0 KiB
#4 Wrong Answer Read 2, expect 5. 1ms 384.0 KiB
#5 Wrong Answer Read 2, expect 3. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1057 A1-2 分支结构练习:三数的特征值
比赛
盛泽二中初一编程社团阶段反馈(2021.4.7)
语言
C++
递交时间
2021-04-07 16:51:37
评测时间
2021-04-07 16:51:37
评测机
分数
20
总耗时
10ms
峰值内存
384.0 KiB