0_0_30841972_7894.cpp: In function 'int main()': 0_0_30841972_7894.cpp:32:19: error: expected '}' at end of input std::cout<<ans; ^