0_0_39259238_14517.cpp: In function 'void solve()':
0_0_39259238_14517.cpp:54:17: error: 'upd' was not declared in this scope
54 | upd(i,a[i]);
| ^~~
0_0_39259238_14517.cpp:60:25: error: 'upd' was not declared in this scope
60 | upd(i+1,x-a[i+1]);
| ^~~
0_0_39259238_14517.cpp:81:30: error: 'qry' was not declared in this scope
81 | ans+=qry(w+1,w+1);
| ^~~
|