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_33140628_27750.cpp:83:28: error: 'point' has not been declared
 void insert(int &x,int par,point val)
                            ^
0_0_33140628_27750.cpp: In function 'void insert(int&, int, int)':
0_0_33140628_27750.cpp:85:13: error: 'p' was not declared in this scope
     if(val==p[x]){siz[x]++,up(x);return;}
             ^
0_0_33140628_27750.cpp:85:19: error: 'siz' was not declared in this scope
     if(val==p[x]){siz[x]++,up(x);return;}
                   ^
0_0_33140628_27750.cpp:85:32: error: 'up' was not declared in this scope
     if(val==p[x]){siz[x]++,up(x);return;}
                                ^
0_0_33140628_27750.cpp:86:22: error: 'newnode' was not declared in this scope
     if(!x){x=newnode(),p[x]=val,fa[x]=par,cmpd[x]=cmpd[par]^1,up(x);return;}
                      ^
0_0_33140628_27750.cpp:86:24: error: 'p' was not declared in this scope
     if(!x){x=newnode(),p[x]=val,fa[x]=par,cmpd[x]=cmpd[par]^1,up(x);return;}
                        ^
0_0_33140628_27750.cpp:86:33: error: 'fa' was not declared in this scope
     if(!x){x=newnode(),p[x]=val,fa[x]=par,cmpd[x]=cmpd[par]^1,up(x);return;}
                                 ^
0_0_33140628_27750.cpp:86:43: error: 'cmpd' was not declared in this scope
     if(!x){x=newnode(),p[x]=val,fa[x]=par,cmpd[x]=cmpd[par]^1,up(x);return;}
                                           ^
0_0_33140628_27750.cpp:86:67: error: 'up' was not declared in this scope
     if(!x){x=newnode(),p[x]=val,fa[x]=par,cmpd[x]=cmpd[par]^1,up(x);return;}
                                                                   ^
0_0_33140628_27750.cpp: In function 'int main()':
0_0_33140628_27750.cpp:116:10: error: 'work' was not declared in this scope
     work();
          ^


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-10-06 17:24:56, Gzip enabled