Main.cc: In function 'int main()': Main.cc:8:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(i%4==0&&i%100!=0||i%400==0) ^ Main.cc:13:1: error: expected '}' at end of input } ^