0_0_1670181_10065.cpp: In function `void update(int)': 0_0_1670181_10065.cpp:9: error: `maxn' undeclared (first use this function) 0_0_1670181_10065.cpp:9: error: (Each undeclared identifier is reported only once for each function it appears in.)