Problem growingtrees
User dsyz
Submission Time 2023-02-05 23:51:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

growingtrees.cpp: In member function ‘void node::propogate()’:
growingtrees.cpp:21:3: error: ‘maxi’ was not declared in this scope
21 | maxi += lazy;
| ^~~~
growingtrees.cpp: In member function ‘void node::update(int, int, ll)’:
growingtrees.cpp:35:4: error: ‘maxi’ was not declared in this scope
35 | maxi = max(l -> maxi,r -> maxi);
| ^~~~
growingtrees.cpp:35:20: error: ‘struct node’ has no member named ‘maxi’
35 | maxi = max(l -> maxi,r -> maxi);
| ^~~~
growingtrees.cpp:35:30: error: ‘struct node’ has no member named ‘maxi’
35 | maxi = max(l -> maxi,r -> maxi);
| ^~~~
growingtrees.cpp: In member function ‘ll node::bsL(ll)’:
growingtrees.cpp:40:11: error: ‘struct node’ has no member named ‘maxi’
40 | if(l -> maxi >= H){
| ^~~~
growingtrees.cpp:42:17: error: ‘struct node’ has no member named