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_23804369_16754.cpp: In function 'void update(int, int, int&, int, int, int, int)':
0_0_23804369_16754.cpp:36:44: error: too few arguments to function 'void update(int, int, int&, int, int, int, int)'
         update(l,mid,t[x].l,t[y].l,flag,pos);
                                            ^
0_0_23804369_16754.cpp:29:6: note: declared here
 void update(int l,int r,int &x,int y,int flag,int val,int pos)
      ^
0_0_23804369_16754.cpp:38:46: error: too few arguments to function 'void update(int, int, int&, int, int, int, int)'
         update(mid+1,r,t[x].r,t[y].r,flag,pos);
                                              ^
0_0_23804369_16754.cpp:29:6: note: declared here
 void update(int l,int r,int &x,int y,int flag,int val,int pos)
      ^
0_0_23804369_16754.cpp: In function 'int main()':
0_0_23804369_16754.cpp:78:54: error: 'struct Node' has no member named 'dis'
                 update(1,n,now,last,g[sk].flag,g[sk].dis,getid(g[sk].val));
                                                      ^


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-09-28 11:12:00, Gzip enabled