foo.cc: In function 'int main()':
foo.cc:7:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
7 | if(a>b>c||a>c>b)
| ~^~
foo.cc:7:16: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
7 | if(a>b>c||a>c>b)
| ~^~
foo.cc:9:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
9 | else if(b>a>c||b>c>a)
| ~^~
foo.cc:9:21: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
9 | else if(b>a>c||b>c>a)
| ~^~
[Hydro](https://hydro.ac)提供评测服务