Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   10 |         if(b<c<d)
      |            ~^~
foo.cc:14:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   14 |         if(b<c>d)
      |            ~^~
foo.cc:18:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   18 |         if(b<c==d)
      |            ~^~
foo.cc:22:16: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   22 |         if(b==c>d)
      |               ~^~
foo.cc:26:16: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   26 |         if(b==c<d)
      |               ~^~
foo.cc:30:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   30 |         if(b==c==d)
      |            ~^~~
foo.cc:34:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   34 |         if(b>c>d)
      |            ~^~
foo.cc:38:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   38 |         if(b>c<d)
      |            ~^~
foo.cc:42:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   42 |         if(b>c==d)
      |            ~^~
foo.cc:46:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   46 |         if(b<c==d)
      |            ~^~
foo.cc:50:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   50 |         if(b>c==d)
      |            ~^~
foo.cc:54:13: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   54 |         if(b==c==d)
      |            ~^~~
foo.cc:58:16: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   58 |         if(b==c>d)
      |               ~^~
foo.cc:62:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   62 |         if(b>c>d)
      |            ~^~
foo.cc:66:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   66 |         if(b<c>d)
      |            ~^~
foo.cc:70:16: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
   70 |         if(b==c<d)
      |               ~^~
foo.cc:74:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   74 |         if(b>c<d)
      |            ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read YesNoNo, expect Yes. 5ms 412.0 KiB
#2 Wrong Answer Read YesNoNo, expect No. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1017 3位升序数
语言
C++
递交时间
2023-11-22 13:47:23
评测时间
2023-11-22 13:47:23
评测机
分数
0
总耗时
9ms
峰值内存
412.0 KiB