foo.cc:26:2: error: stray '#' in program
26 | }#include<bits/stdc++.h>
| ^
foo.cc: In function 'int main()':
foo.cc:22:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
22 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:5:11: warning: unused variable 'i' [-Wunused-variable]
5 | long long i=0,y,m,d,leap=0;
| ^
foo.cc: At global scope:
foo.cc:26:3: error: 'include' does not name a type
26 | }#include<bits/stdc++.h>
| ^~~~~~~
foo.cc:28:5: error: redefinition of 'int main()'
28 | int main()
| ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
3 | int main()
| ^~~~
foo.cc: In function 'int main()':
foo.cc:47:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
47 | if(y%4==0&&y%100!=0||y%400==0)
| ~~~~~~^~~~~~~~~~
foo.cc:30:11: warning: unused variable 'i' [-Wunused-variable]
30 | long long i=0,y,m,d,leap=0;
| ^
[Hydro](https://hydro.ac)提供评测服务