Problem fenwicktree
User Bulbasheen
Submission Time 2024-02-03 23:25:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fenwicktree.cpp: In function ‘void up(int*, int, int)’:
fenwicktree.cpp:9:11: error: ‘N’ was not declared in this scope
9 | for(; x<=N; x+=x&-x) f[x] += v;
| ^