记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   13 |         if (a > b & b > c)
      |             ~~^~~
foo.cc:17:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   17 |         else if (a > c & c > b)
      |                  ~~^~~
foo.cc:21:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   21 |         else if (b > c & c > a)
      |                  ~~^~~
foo.cc:25:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   25 |         else if (b > a & a > c)
      |                  ~~^~~
foo.cc:29:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   29 |         else if (c > a & a > b)
      |                  ~~^~~
foo.cc:33:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
   33 |         else if (c > b & b > a)
      |                  ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 8ms 792.0 KiB
#2 Wrong Answer Standard answer longer than user output. 7ms 792.0 KiB
#3 Wrong Answer Standard answer longer than user output. 7ms 692.0 KiB
#4 Wrong Answer Standard answer longer than user output. 7ms 776.0 KiB
#5 Wrong Answer Standard answer longer than user output. 7ms 712.0 KiB

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2023年新生赛(第一场)
语言
C++
递交时间
2023-08-15 10:19:38
评测时间
2023-08-15 10:19:38
评测机
分数
0
总耗时
37ms
峰值内存
792.0 KiB