foo.cc: In function 'int main()':
foo.cc:14:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
14 | if(q==5&&p==2||q==3&&p==0||p==5&&q==0)
| ~~~~^~~~~~
foo.cc:14:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
14 | if(q==5&&p==2||q==3&&p==0||p==5&&q==0)
| ~~~~^~~~~~
foo.cc:18:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
18 | if(p==5&&q==2||p==3&&q==0||q==5&&p==0)
| ~~~~^~~~~~
foo.cc:18:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
18 | if(p==5&&q==2||p==3&&q==0||q==5&&p==0)
| ~~~~^~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务