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_19360938_17047.cpp: In function 'void update(int, int, int, int, int)':
0_0_19360938_17047.cpp:21:37: error: too many arguments to function 'void update(int, int, int, int, int)'
  if(p <= m) update(ls[o], p, v, lson);
                                     ^
0_0_19360938_17047.cpp:14:6: note: declared here
 void update(int o, int p, int v, int l, int r) {
      ^
0_0_19360938_17047.cpp:22:31: error: too many arguments to function 'void update(int, int, int, int, int)'
  else update(rs[o], p, v, rson);
                               ^
0_0_19360938_17047.cpp:14:6: note: declared here
 void update(int o, int p, int v, int l, int r) {
      ^
0_0_19360938_17047.cpp: In function 'int main()':
0_0_19360938_17047.cpp:58:44: error: too many arguments to function 'void update(int, int, int, int, int)'
    update(root[i], j, 1, 1, size, root[i+1]);
                                            ^
0_0_19360938_17047.cpp:14:6: note: declared here
 void update(int o, int p, int v, int l, int r) {
      ^


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-17 22:21:47, Gzip enabled