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

Compile Error

segmenttree.cpp:32:2: error: expected ‘;’ after struct definition
32 | }
| ^
| ;
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;
| ^~~~~~