0_0_3298550_16025.cpp: In function `void solve()': 0_0_3298550_16025.cpp:235: error: `ans' undeclared (first use this function) 0_0_3298550_16025.cpp:235: error: (Each undeclared identifier is reported only once for each function it appears in.)