foo.cc: In function 'int main()':
foo.cc:17:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
17 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:24:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
24 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:31:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
31 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:38:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
38 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:45:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
45 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:52:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
52 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:59:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
59 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:66:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
66 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:73:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
73 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:80:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
80 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务