/in/foo.cc: In function 'int check(int)':
/in/foo.cc:5:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(x%400==0 || (x%4==0) && x%100!=0 ) return 1;return 0;
~~~~~~~~~^~~~~~~~~~~
/in/foo.cc:5:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(x%400==0 || (x%4==0) && x%100!=0 ) return 1;return 0;
^~
/in/foo.cc:5:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(x%400==0 || (x%4==0) && x%100!=0 ) return 1;return 0;
^~~~~~