Problem fenwicktree
User cobnet
Submission Time 2024-02-27 22:26:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:30:20: error: too few arguments to function ‘void update(int, int, int)’
30 | update(i, x);
| ^
fenwicktree.cpp:10:13: note: declared here
10 | inline void update(int a, int b, int v) {
| ^~~~~~