Problem stackweights
User PlayVoltz
Submission Time 2023-12-10 22:50:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stackweights.cpp: In member function ‘void node::propagate()’:
stackweights.cpp:17:20: error: expected ‘;’ before ‘if’
17 | low+=lazy*(e-s+1)
| ^
| ;
18 | if (s!=e){
| ~~