foo.cc: In function 'int main()':
foo.cc:20:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if(a[i]==0&&b[i]==5||a[i]==5&&b[i]==2||a[i]==2&&b[i]==0)B++;
| ~~~~~~~^~~~~~~~~
foo.cc:20:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
20 | if(a[i]==0&&b[i]==5||a[i]==5&&b[i]==2||a[i]==2&&b[i]==0)B++;
| ~~~~~~~^~~~~~~~~
foo.cc:21:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
21 | if(a[i]==0&&b[i]==2||a[i]==2&&b[i]==5||a[i]==5&&b[i]==0) A++;
| ~~~~~~~^~~~~~~~~
foo.cc:21:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
21 | if(a[i]==0&&b[i]==2||a[i]==2&&b[i]==5||a[i]==5&&b[i]==0) A++;
| ~~~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务