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_33140621_21761.cpp:115:0: error: unterminated #ifndef
 #ifndef ONLINE_JUDGE
 ^
0_0_33140621_21761.cpp:83:28: error: 'point' has not been declared
 void insert(int &x,int par,point val)
                            ^
0_0_33140621_21761.cpp: In function 'void insert(int&, int, int)':
0_0_33140621_21761.cpp:85:13: error: 'p' was not declared in this scope
     if(val==p[x]){siz[x]++,up(x);return;}
             ^
0_0_33140621_21761.cpp:85:19: error: 'siz' was not declared in this scope
     if(val==p[x]){siz[x]++,up(x);return;}
                   ^
0_0_33140621_21761.cpp:85:32: error: 'up' was not declared in this scope
     if(val==p[x]){siz[x]++,up(x);return;}
                                ^
0_0_33140621_21761.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_33140621_21761.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_33140621_21761.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_33140621_21761.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_33140621_21761.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_33140621_21761.cpp:87:5: error: 'curd' was not declared in this scope
     curd=cmpd[x];
     ^
0_0_33140621_21761.cpp:87:10: error: 'cmpd' was not declared in this scope
     curd=cmpd[x];
          ^
0_0_33140621_21761.cpp:88:16: error: 'p' was not declared in this scope
     if(cmp(val,p[x]))insert(ls,x,val);
                ^
0_0_33140621_21761.cpp:88:20: error: 'cmp' was not declared in this scope
     if(cmp(val,p[x]))insert(ls,x,val);
                    ^
0_0_33140621_21761.cpp:88:29: error: 'ls' was not declared in this scope
     if(cmp(val,p[x]))insert(ls,x,val);
                             ^
0_0_33140621_21761.cpp:89:17: error: 'rs' was not declared in this scope
     else insert(rs,x,val);
                 ^
0_0_33140621_21761.cpp:90:9: error: 'up' was not declared in this scope
     up(x); if(!balance(x))last=x;
         ^
0_0_33140621_21761.cpp:90:25: error: 'balance' was not declared in this scope
     up(x); if(!balance(x))last=x;
                         ^
0_0_33140621_21761.cpp:90:27: error: 'last' was not declared in this scope
     up(x); if(!balance(x))last=x;
                           ^
0_0_33140621_21761.cpp: In function 'int main()':
0_0_33140621_21761.cpp:108:1: error: expected '}' at end of input
 {
 ^


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:16:22, Gzip enabled