Problem fenwicktree
User jmuzhen
Submission Time 2024-12-09 14:28:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘int main()’:
fenwicktree.cpp:134:5: error: ‘root’ was not declared in this scope
134 | root = new node(0, n - 1, v.data());
| ^~~~