/in/foo.cc: In function 'int main()':
/in/foo.cc:17:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:24:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:31:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:38:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:45:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:52:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:59:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:66:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:73:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~
/in/foo.cc:80:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(y%4==0&&y%100!=0||y%400==0)
~~~~~~^~~~~~~~~~