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_33140716_30821.cpp: In function 'int main()':
0_0_33140716_30821.cpp:99:2: error: 'else' without a previous 'if'
 {else insert(rs,x,val);
  ^
0_0_33140716_30821.cpp:99:14: error: 'rs' was not declared in this scope
 {else insert(rs,x,val);
              ^
0_0_33140716_30821.cpp:99:17: error: 'x' was not declared in this scope
 {else insert(rs,x,val);
                 ^
0_0_33140716_30821.cpp:99:19: error: 'val' was not declared in this scope
 {else insert(rs,x,val);
                   ^
0_0_33140716_30821.cpp:99:22: error: 'insert' was not declared in this scope
 {else insert(rs,x,val);
                      ^
0_0_33140716_30821.cpp:100:13: error: 'pushup' was not declared in this scope
     pushup(x); if(!balance(x))last=x;
             ^
0_0_33140716_30821.cpp:100:29: error: 'balance' was not declared in this scope
     pushup(x); if(!balance(x))last=x;
                             ^
0_0_33140716_30821.cpp:100:31: error: 'last' was not declared in this scope
     pushup(x); if(!balance(x))last=x;
                               ^
0_0_33140716_30821.cpp:111: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 13:30:42, Gzip enabled