0_0_3941827_12891.cpp: In function `int query(node*)': 0_0_3941827_12891.cpp:58: error: `tmp' undeclared (first use this function) 0_0_3941827_12891.cpp:58: error: (Each undeclared identifier is reported only once for each function it appears in.)