0_0_39846284_21363.cpp: In function 'void solve()':
0_0_39846284_21363.cpp:119:30: error: expected ')' before numeric constant
119 | upd(1 1, 200005, a[i], 0);
| ~ ^~
| )
0_0_39846284_21363.cpp:119:28: error: too few arguments to function 'void upd(long long int, long long int, long long int, long long int, long long int)'
119 | upd(1 1, 200005, a[i], 0);
| ~~~^~~~~~~~~~~~~~~~~~~~~~
0_0_39846284_21363.cpp:55:6: note: declared here
55 | void upd(ll v, ll tl, ll tr, ll pos, ll x) {
| ^~~
|