0_0_2962245_636.cpp: In function `int solve()': 0_0_2962245_636.cpp:92: error: `tmp' undeclared (first use this function) 0_0_2962245_636.cpp:92: error: (Each undeclared identifier is reported only once for each function it appears in.)