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)提供评测服务