0_0_25975428_23861.cpp: In function 'int main()': 0_0_25975428_23861.cpp:72:17: error: 'ans' was not declared in this scope printf("%d\n",ans); ^