Problem mountain
User PlayVoltz
Submission Time 2023-12-11 11:06:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountain.cpp: In member function ‘void node::up(long long int, long long int, long long int)’:
mountain.cpp:62:42: error: no context to resolve type of ‘((node*)this)->node::l->node::propagate’
62 | createl(), l->up(left, right, v), l->propagate;
| ^~~~~~~~~
mountain.cpp:67:42: error: no context to resolve type of ‘((node*)this)->node::r->node::propagate’
67 | creater(), r->up(left, right, v), r->propagate;
| ^~~~~~~~~
mountain.cpp:73:8: error: invalid use of non-static member function ‘void node::propagate()’
73 | l->propagate, r->propagate;
| ~~~^~~~~~~~~
mountain.cpp:38:7: note: declared here
38 | void propagate(){
| ^~~~~~~~~
mountain.cpp: In member function ‘long long int node::query(long long int)’:
mountain.cpp:86:3: error: ‘create’ was not declared in this scope; did y