Problem segmenttree
User YSH2020
Submission Time 2025-03-03 12:49:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘int node::rmq(int, int)’:
segmenttree.cpp:13:13: error: ‘null’ was not declared in this scope
13 | if (*l == null) create();
| ^~~~
segmenttree.cpp: In member function ‘void node::update(int, int)’:
segmenttree.cpp:20:13: error: ‘null’ was not declared in this scope
20 | if (*l == null) create();
| ^~~~