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