0_0_36350742_15743.cpp:47:7: error: expected constructor, destructor, or type conversion before '(' token printf("%d\n", ans); ^ 0_0_36350742_15743.cpp:48:1: error: expected declaration before '}' token } ^