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_25743932_32243.cpp: In function 'void update(ll, int, int, int)':
0_0_25743932_32243.cpp:56:37: error: too many arguments to function 'void update(ll, int, int, int)'
     if (L <= m) update(L, R, c, LSON);
                                     ^
0_0_25743932_32243.cpp:48:13: note: declared here
 inline void update(ll c, int l, int r, int rt = 1) {
             ^
0_0_25743932_32243.cpp:57:36: error: too many arguments to function 'void update(ll, int, int, int)'
     if (m < R) update(L, R, c, RSON);
                                    ^
0_0_25743932_32243.cpp:48:13: note: declared here
 inline void update(ll c, int l, int r, int rt = 1) {
             ^
0_0_25743932_32243.cpp: In function 'll query(int, int, int)':
0_0_25743932_32243.cpp:67:37: error: too many arguments to function 'll query(int, int, int)'
     if (L <= m) return query(L, LSON);
                                     ^
0_0_25743932_32243.cpp:61:11: note: declared here
 inline ll query(int l, int r, int rt = 1) {
           ^
0_0_25743932_32243.cpp:68:25: error: too many arguments to function 'll query(int, int, int)'
     return query(L, RSON);
                         ^
0_0_25743932_32243.cpp:61:11: note: declared here
 inline ll query(int l, int r, int rt = 1) {
           ^


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-09 03:13:47, Gzip enabled