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_30079582_17382.cpp: In function 'void update(int, int)':
0_0_30079582_17382.cpp:73:17: error: 'pushdown' was not declared in this scope
     pushdown(rot);
                 ^
0_0_30079582_17382.cpp:79:15: error: 'pushup' was not declared in this scope
     pushup(rot);
               ^
0_0_30079582_17382.cpp: In function 'int main()':
0_0_30079582_17382.cpp:101:31: error: too many arguments to function 'void update(int, int)'
             update(1, id[x], 1);
                               ^
0_0_30079582_17382.cpp:69:6: note: declared here
 void update(int rot, int pos)
      ^
0_0_30079582_17382.cpp:102:40: error: 'updates' was not declared in this scope
             printf("%d\n", updates(x, 1));
                                        ^
0_0_30079582_17382.cpp:106:31: error: too many arguments to function 'void update(int, int)'
             update(1, id[x], 0);
                               ^
0_0_30079582_17382.cpp:69:6: note: declared here
 void update(int rot, int pos)
      ^
0_0_30079582_17382.cpp:107:40: error: 'updates' was not declared in this scope
             printf("%d\n", updates(x, 0));
                                        ^


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-11-25 04:59:38, Gzip enabled