Problem boxinbox
User wrizz69
Submission Time 2024-12-09 15:39:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxinbox.cpp: In constructor ‘node::node(long long int, long long int)’:
boxinbox.cpp:17:20: error: ‘E’ was not declared in this scope
17 | s = S; e = E; m = (s + e + 1) / 2;
| ^
boxinbox.cpp: In member function ‘void node::propogate()’:
boxinbox.cpp:33:42: error: a function-definition is not allowed here before ‘{’ token
33 | void update(int S, int E, int V) {
| ^
boxinbox.cpp:59:33: error: a function-definition is not allowed here before ‘{’ token
59 | int query(int S, int E) {
| ^