Problem truck
User Cookie
Submission Time 2024-01-01 13:16:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

truck.cpp: In function ‘void full::upd(int, int, int, int)’:
truck.cpp:93:41: error: too few arguments to function ‘void full::upd(int, int, int, int)’
93 | if(id <= mid)upd(nd << 1, l, mid);
| ^
truck.cpp:87:10: note: declared here
87 | void upd(int nd, int l, int r, int id){
| ^~~
truck.cpp:94:41: error: too few arguments to function ‘void full::upd(int, int, int, int)’
94 | else upd(nd << 1 | 1, mid + 1, r);
| ^
truck.cpp:87:10: note: declared here
87 | void upd(int nd, int l, int r, int id){
| ^~~
truck.cpp: In function ‘void full::upd2(int, int, int, int)’:
truck.cpp:110:42: error: too few arguments to function ‘void full::upd2(int, int, int, int)’
110 | if(id <= mid)upd2(nd << 1, l, mid);
| ^
tr