Problem segmenttree
User gohchingjayk
Submission Time 2024-09-24 16:23:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘void Node::update(int, int)’:
segmenttree.cpp:27:31: error: expected primary-expression before ‘return’
27 | if (low == high) value = v, return;
| ^~~~~~