0_0_17143437_10398.cpp: In function 'int main()': 0_0_17143437_10398.cpp:75:9: error: expected ';' before 'if' if(ans!=-1) ^ 0_0_17143437_10398.cpp:77:9: error: 'else' without a previous 'if' else ^