0_0_18102923_16498.cpp: In function 'void solve()': 0_0_18102923_16498.cpp:36:2: error: expected ';' before 'if' if(ans<=5) printf("%d\n",ans); ^ 0_0_18102923_16498.cpp:37:2: error: 'else' without a previous 'if' else printf("TAT\n"); ^