Problem segmenttree
User yhkhoo
Submission Time 2025-12-03 15:31:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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