weirdtree.cpp:5:15: error: 'll' was not declared in this scope
5 | long long h1[(ll)5e5];
| ^~
weirdtree.cpp:5:18: error: expected ']' before numeric constant
5 | long long h1[(ll)5e5];
| ^~~
| ]
weirdtree.cpp: In function 'void initialise(int, int, int*)':
weirdtree.cpp:9:9: error: 'h1' was not declared in this scope; did you mean 'h0'?
9 | h1[i+1]=h0[i];
| ^~
| h0
weirdtree.cpp: In function 'void cut(int, int, int)':
weirdtree.cpp:18:17: error: 'h1' was not declared in this scope; did you mean 'y1'?
18 | if (h1[i]>mval) {
| ^~
| y1
weirdtree.cpp:26:9: error: 'h1' was not declared in this scope; did you mean 'y1'?
26 | h1[xloc]--;
| ^~
| y1
weirdtree.cpp: In function 'void magic(int, int)':
weirdtree.cpp:32:5: error: 'h1' was not declared in this scope; did you mean 'y1'?
32 | h1[i]=x;
| ^~
| y1
weirdtree.cpp: In function 'long long int inspect(int, int)':
weirdtree.cpp:38:15: error: 'h1' was not declared in this scope; did you mean 'y1'?
38 | vf += h1[i];
| ^~
| y1