/in/foo.cc:37:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
/in/foo.cc: In function 'bool pd(int)':
/in/foo.cc:21:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(n%400==0||(n%4==0&&n%100!=0)&&day<=29&&m==2)return 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:37:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^~~~~~~
/in/foo.cc:39:5: error: redefinition of 'int a'
int a,b,n,m,d=0;
^
/in/foo.cc:3:5: note: 'int a' previously declared here
int a,b,n,m,d=0;
^
/in/foo.cc:39:7: error: redefinition of 'int b'
int a,b,n,m,d=0;
^
/in/foo.cc:3:7: note: 'int b' previously declared here
int a,b,n,m,d=0;
^
/in/foo.cc:39:9: error: redefinition of 'int n'
int a,b,n,m,d=0;
^
/in/foo.cc:3:9: note: 'int n' previously declared here
int a,b,n,m,d=0;
^
/in/foo.cc:39:11: error: redefinition of 'int m'
int a,b,n,m,d=0;
^
/in/foo.cc:3:11: note: 'int m' previously declared here
int a,b,n,m,d=0;
^
/in/foo.cc:39:13: error: redefinition of 'int d'
int a,b,n,m,d=0;
^
/in/foo.cc:3:13: note: 'int d' previously defined here
int a,b,n,m,d=0;
^
/in/foo.cc: In function 'int zh(int)':
/in/foo.cc:40:5: error: redefinition of 'int zh(int)'
int zh(int i)
^~
/in/foo.cc:4:5: note: 'int zh(int)' previously defined here
int zh(int i)
^~
/in/foo.cc: In function 'bool pd(int)':
/in/foo.cc:51:6: error: redefinition of 'bool pd(int)'
bool pd(int k)
^~
/in/foo.cc:15:6: note: 'bool pd(int)' previously defined here
bool pd(int k)
^~
/in/foo.cc:57:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(n%400==0||(n%4==0&&n%100!=0)&&day<=29&&m==2)return 1;
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:25:5: note: 'int main()' previously defined here
int main()
^~~~