记录详情

Wrong Answer

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

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
语言
C++
递交时间
2025-09-25 22:51:42
评测时间
2025-09-25 22:51:42
评测机
分数
0
总耗时
14ms
峰值内存
768.0 KiB