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