foo.cc: In function 'int main()':
foo.cc:9:46: error: unable to find numeric literal operator 'operator""i'
9 | if(i==1||i==3||i==5||i==7||i==8||i==10||i==12i)
| ^~~
foo.cc:9:46: note: use '-fext-numeric-literals' to enable more built-in suffixes
foo.cc:14:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
14 | if(a%400==0||a%4==0&&a%100!=0)
| ~~~~~~^~~~~~~~~~
foo.cc:13:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
13 | if(i==2)
| ^
[Hydro](https://hydro.ac)提供评测服务