Problem fenwicktree
User sussygoose
Submission Time 2026-04-24 14:29:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:43:24: error: too few arguments to function ‘void update(long long int, long long int, long long int, long long int)’
43 | update(i, arr[i], x);
| ^
fenwicktree.cpp:21:6: note: declared here
21 | void update(int l, int r, int v, int x) {
| ^~~~~~