F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                                                      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-05-22 22:35:52, Gzip enabled