Problem | goombatower |
---|---|
User | PlayVoltz |
Submission Time | 2023-12-11 10:12:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goombatower.cpp:28:2: error: ‘node’ does not name a type; did you mean ‘node2’?
28 | node *l, *r;
| ^~~~
| node2
goombatower.cpp: In member function ‘void node2::create()’:
goombatower.cpp:30:7: error: ‘l’ was not declared in this scope
30 | if (l==nullptr){
| ^
goombatower.cpp:32:4: error: ‘r’ was not declared in this scope
32 | r = new node2(m+1, e);
| ^
goombatower.cpp: In member function ‘void node2::propagate()’:
goombatower.cpp:39:4: error: ‘l’ was not declared in this scope
39 | l->lazy+=lazy;
| ^
goombatower.cpp:40:4: error: ‘r’ was not declared in this scope
40 | r->lazy+=lazy;
| ^
goombatower.cpp: In constructor ‘node2::node2(long long int, long long int)’:
goombatower.cpp:47:3: error: ‘l’ was not declared in this scope
47 | l=r=nullptr;
| ^
goombatower.cpp:47:5: error: ‘r’ was not declared in this scope
47