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_29124296_15990.cpp: In function 'long long int updata(int, int, int, int, int, int)':
0_0_29124296_15990.cpp:42:54: error: too many arguments to function 'long long int updata(int, int, int, int, int, int)'
     if(ql <= mid) res += updata(i*2,l,mid,ql,qr,mid,x);
                                                      ^
0_0_29124296_15990.cpp:24:4: note: declared here
 ll updata(int i,int l,int r,int ql,int qr,int x)
    ^
0_0_29124296_15990.cpp:43:57: error: too many arguments to function 'long long int updata(int, int, int, int, int, int)'
     if(qr > mid) res += updata(i*2+1,mid+1,r,ql,mid,qr,x);
                                                         ^
0_0_29124296_15990.cpp:24:4: note: declared here
 ll updata(int i,int l,int r,int ql,int qr,int x)
    ^


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-07-01 06:12:49, Gzip enabled