0_0_33389846_7931.cpp: In function 'int main()': 0_0_33389846_7931.cpp:149:28: error: expected '}' at end of input cout << ans << endl; ^ 0_0_33389846_7931.cpp:149:28: error: expected '}' at end of input