Problem smurfpaths
User Xiaoyang
Submission Time 2023-06-09 00:49:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurfpaths.cpp: In function ‘int main()’:
smurfpaths.cpp:130:29: error: too few arguments to function ‘void update(long long int, long long int, long long int, long long int, long long int, long long int)’
130 | if(a[i]>=x)update(pre[i],1);
| ^
smurfpaths.cpp:46:6: note: declared here
46 | void update(ll c, ll cl, ll cr, ll l, ll r, ll val){
| ^~~~~~