Problem segmenttree
User Kiameimon
Submission Time 2024-10-17 01:16:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:78:30: error: ‘init’ was not declared in this scope; did you mean ‘int’?
78 | for(int i = 1; i <= n; i++) init[i] = 0;
| ^~~~
| int