0_0_30350293_2690.cpp: In function 'int main()': 0_0_30350293_2690.cpp:139:23: error: 'ans' was not declared in this scope printf("%d\n",ans+1); ^