记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:13:7: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
   13 | if (a > b >c)
      |     ~~^~~
foo.cc:17:12: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
   17 | else if (a > c > b)
      |          ~~^~~
foo.cc:21:12: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
   21 | else if (b >a >c)
      |          ~~^~
foo.cc:25:12: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
   25 | else if (b > c > a)
      |          ~~^~~
foo.cc:29:12: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
   29 | else if (c >a > b)
      |          ~~^~
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 324.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 764.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 764.0 KiB

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
语言
C++
递交时间
2024-08-23 16:49:48
评测时间
2024-08-23 16:49:48
评测机
分数
0
总耗时
13ms
峰值内存
764.0 KiB