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