Problem goombatower
User YH
Submission Time 2025-12-08 17:01:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

goombatower.cpp: In function ‘void update(Node*&, ll, ll, ll, ll)’:
goombatower.cpp:86:47: error: ‘delta’ was not declared in this scope
86 | if (idx <= tm) update(node->lc, tl, tm, idx, delta);
| ^~~~~
goombatower.cpp:87:39: error: ‘delta’ was not declared in this scope
87 | else update(node->rc, tm+1, tr, idx, delta);
| ^~~~~