Problem fenwicktree_easy
User TngShihAn
Submission Time 2023-11-09 14:57:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree_easy.cpp: In function ‘int main()’:
fenwicktree_easy.cpp:17:13: error: ‘ArrayN’ was not declared in this scope
17 | ArrayN[x]=y;
| ^~~~~~
fenwicktree_easy.cpp:21:29: error: ‘arr’ cannot be used as a function
21 | sum += arr(q);
| ^