/in/foo.cc: In function 'bool isrun(long long int)':
/in/foo.cc:7:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
7 | return year%4==0&&year%100!=0||year%400==0;
| ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
46 | if(IsPrime[i]);
| ^~
/in/foo.cc:47:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
47 | {
| ^
/in/foo.cc:55:49: warning: unused variable 'mod3' [-Wunused-variable]
55 | int y[4],m[4],d[4],md,mod1,mod2,mod3,ans=0;
| ^~~~