0_0_6704487_22083.cpp: In function `int work()': 0_0_6704487_22083.cpp:52: error: `res' undeclared (first use this function) 0_0_6704487_22083.cpp:52: error: (Each undeclared identifier is reported only once for each function it appears in.)