0_0_38631026_27089.cpp: In function 'void build(int, int, int)':
0_0_38631026_27089.cpp:48:2: error: 'pushup' was not declared in this scope
pushup(p);
^~~~~~
0_0_38631026_27089.cpp:48:2: note: suggested alternative: 'wcsdup'
pushup(p);
^~~~~~
wcsdup
0_0_38631026_27089.cpp: At global scope:
0_0_38631026_27089.cpp:70:8: error: redefinition of 'struct node'
struct node {
^~~~
0_0_38631026_27089.cpp:35:8: note: previous definition of 'struct node'
struct node {
^~~~
0_0_38631026_27089.cpp: In function 'int main()':
0_0_38631026_27089.cpp:100:3: error: 'tree' was not declared in this scope
tree.build(1,1,N-2);
^~~~
0_0_38631026_27089.cpp:100:3: note: suggested alternative: 'free'
tree.build(1,1,N-2);
^~~~
free
0_0_38631026_27089.cpp:102:46: error: 'struct node' has no member named 'kind'; did you mean 'id'?
for(auto it:qu[i]) tree.change(1,1,N-2,it.kind,it.c);
^~~~
id
0_0_38631026_27089.cpp:102:54: error: 'struct node' has no member named 'c'
for(auto it:qu[i]) tree.change(1,1,N-2,it.kind,it.c);
^
|