foo.cc: In function 'int main()':
foo.cc:7:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
7 | if(a<=w<e)
| ~^~~
foo.cc:13:21: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
13 | if(w<=a<e)
| ~^~~
foo.cc:19:29: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
19 | if(e<=a<w)
| ~^~~
foo.cc:25:37: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
25 | if(a<=e<w)
| ~^~~
foo.cc:30:37: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
30 | if(w<=e<a)
| ~^~~
foo.cc:36:45: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
36 | if(e<=w<a)
| ~^~~
foo.cc:42:53: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
42 | if(e=w<a)
| ~^~~~
foo.cc:48:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
48 | if(a=w<e)
| ~^~~~
foo.cc:54:69: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
54 | if(a=e<w)
| ~^~~~
foo.cc:65:2: error: expected '}' at end of input
65 | }
| ^
foo.cc:4:1: note: to match this '{'
4 | {
| ^
[Hydro](https://hydro.ac)提供评测服务