0_0_29098507_28776.cpp: In function 'void del(int)': 0_0_29098507_28776.cpp:32:9: error: 'cur' was not declared in this scope cur-=num[k-a[pos]]; ^ 0_0_29098507_28776.cpp:32:22: error: 'pos' was not declared in this scope cur-=num[k-a[pos]]; ^