0_0_21677270_15118.cpp: In function 'void print()': 0_0_21677270_15118.cpp:49:31: error: 'reverse' was not declared in this scope reverse(ans.begin(),ans.end()); ^