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_26090753_30402.cpp: In function 'void update(int, int, int, int)':
0_0_26090753_30402.cpp:52:8: error: 'x' was not declared in this scope
     if(x<=mid) update(k<<1,x,y);
        ^
0_0_26090753_30402.cpp:52:30: error: 'y' was not declared in this scope
     if(x<=mid) update(k<<1,x,y);
                              ^
0_0_26090753_30402.cpp:53:26: error: 'y' was not declared in this scope
     else update(k<<1|1,x,y);
                          ^
0_0_26090753_30402.cpp: In function 'int main()':
0_0_26090753_30402.cpp:98:29: error: too few arguments to function 'void update(int, int, int, int)'
             update(1,r,dp[r]);
                             ^
0_0_26090753_30402.cpp:45:6: note: declared here
 void update(int k,int l,int r,int num)
      ^
0_0_26090753_30402.cpp:102:33: error: too few arguments to function 'void update(int, int, int, int)'
                 update(1,r,dp[r]);
                                 ^
0_0_26090753_30402.cpp:45:6: note: declared here
 void update(int k,int l,int r,int num)
      ^


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-12-01 14:51:49, Gzip enabled