0_0_35994746_18572.cpp: In function 'void update(int, int, int, int, int, int)': 0_0_35994746_18572.cpp:112:16: error: 'upd' was not declared in this scope upd(x,c);return; ^