foo.cc: In function 'int main()':
foo.cc:10:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
10 | if((i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0||i==7||i==3||i==2||i==5)&&(j%2!=0&&j%3!=0&&j%5!=0&&j%7!=0||j==7||j==3||j==2||j==5))
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
foo.cc:10:87: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
10 | if((i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0||i==7||i==3||i==2||i==5)&&(j%2!=0&&j%3!=0&&j%5!=0&&j%7!=0||j==7||j==3||j==2||j==5))
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务