0_0_6662214_24988.cpp: In function `double G(int, int)': 0_0_6662214_24988.cpp:22: error: `k' undeclared (first use this function) 0_0_6662214_24988.cpp:22: error: (Each undeclared identifier is reported only once for each function it appears in.)