foo.cc: In function 'int main()':
foo.cc:32:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
32 | if(a[i]==1&&a[j]==0||a[i]==2&&a[j]==3||a[i]==3&&a[j]==2||a[i]==4&&a[j]==4)
| ~~~~~~~^~~~~~~~~
foo.cc:32:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
32 | if(a[i]==1&&a[j]==0||a[i]==2&&a[j]==3||a[i]==3&&a[j]==2||a[i]==4&&a[j]==4)
| ~~~~~~~^~~~~~~~~
foo.cc:32:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
32 | if(a[i]==1&&a[j]==0||a[i]==2&&a[j]==3||a[i]==3&&a[j]==2||a[i]==4&&a[j]==4)
| ~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务