Problem fenwicktree_easy
User bz
Submission Time 2023-12-04 22:31:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree_easy.cpp: In function ‘void update(int, int)’:
fenwicktree_easy.cpp:24:17: error: ‘a’ was not declared in this scope
24 | int d = v - a[p];
| ^