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