0_0_15430905_11510.cpp: In function 'int main()': 0_0_15430905_11510.cpp:42:9: error: expected ';' before 'cout' cout<<ans<<endl; ^