/in/foo.cc: In function 'bool rn(int)':
/in/foo.cc:8:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(year%4==0&&year%100!=0||year%400==0)
~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'bool judge(int, int, int)':
/in/foo.cc:16:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(year==2001&&(month>11||month==11&&day>4))
~~~~~~~~~^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:87:10: warning: unused variable 'shit' [-Wunused-variable]
int shit=judge(l,m,n);
^~~~
/in/foo.cc: In function 'bool judge(int, int, int)':
/in/foo.cc:55:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^