0_0_9096072_19205.cpp: In function `int main()': 0_0_9096072_19205.cpp:39: error: `ans' undeclared (first use this function) 0_0_9096072_19205.cpp:39: error: (Each undeclared identifier is reported only once for each function it appears in.)