0_0_32942277_29690.cpp: In function 'void update(int, int)': 0_0_32942277_29690.cpp:33:2: error: 'sum' was not declared in this scope sum[N+L]=C; ^