foo.cc: In function 'int main()':
foo.cc:17:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
17 | if(s[i]==">="&&c=='Y'||s[i]=="<"&&c=='N')
| ~~~~~~~~~~^~~~~~~~
foo.cc:21:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
21 | if(s[i]==">"&&c=='Y'||s[i]=="<="&&c=='N')
| ~~~~~~~~~^~~~~~~~
foo.cc:25:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
25 | if(s[i]==">"&&c=='N'||s[i]=="<="&&c=='Y')
| ~~~~~~~~~^~~~~~~~
foo.cc:29:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
29 | if(s[i]==">="&&c=='N'||s[i]=="<"&&c=='Y')
| ~~~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务