Problem segmenttree
User sporknives
Submission Time 2025-09-20 16:23:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In member function ‘void node::update(int, int)’:
segmenttree.cpp:26:28: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
26 | return min(l->val, r->val);
| ^