0_0_33140700_4171.cpp:114:0: error: unterminated #ifndef
#ifndef ONLINE_JUDGE
^
0_0_33140700_4171.cpp: In function 'int main()':
0_0_33140700_4171.cpp:101:1: error: 'else' without a previous 'if'
else insert(rs,x,val);
^
0_0_33140700_4171.cpp:101:13: error: 'rs' was not declared in this scope
else insert(rs,x,val);
^
0_0_33140700_4171.cpp:101:16: error: 'x' was not declared in this scope
else insert(rs,x,val);
^
0_0_33140700_4171.cpp:101:18: error: 'val' was not declared in this scope
else insert(rs,x,val);
^
0_0_33140700_4171.cpp:101:21: error: 'insert' was not declared in this scope
else insert(rs,x,val);
^
0_0_33140700_4171.cpp:102:13: error: 'pushup' was not declared in this scope
pushup(x); if(!balance(x))last=x;
^
0_0_33140700_4171.cpp:102:29: error: 'balance' was not declared in this scope
pushup(x); if(!balance(x))last=x;
^
0_0_33140700_4171.cpp:102:31: error: 'last' was not declared in this scope
pushup(x); if(!balance(x))last=x;
^
0_0_33140700_4171.cpp:113:10: error: 'work' was not declared in this scope
work();
^
0_0_33140700_4171.cpp:113:11: error: expected '}' at end of input
work();
^
|