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