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_24596835_32560.cpp: In function 'void modify_s(int, int)':
0_0_24596835_32560.cpp:73:43: error: no matching function for call to 'Tseg::Query(int [400044], int)'
 #define Query_e(...) Query(T.e,__VA_ARGS__)
                                           ^
0_0_24596835_32560.cpp:85:9: note: in expansion of macro 'Query_e'
 sL+=y*T.Query_e(dfn[top[x]]/dfn[x]);
         ^
0_0_24596835_32560.cpp:73:43: note: candidates are:
 #define Query_e(...) Query(T.e,__VA_ARGS__)
                                           ^
0_0_24596835_32560.cpp:85:9: note: in expansion of macro 'Query_e'
 sL+=y*T.Query_e(dfn[top[x]]/dfn[x]);
         ^
0_0_24596835_32560.cpp:47:5: note: int Tseg::Query(int, int, int, int, int, int*)
 int Query(int p,int l,int r,int a,int b,int v[]){
     ^
0_0_24596835_32560.cpp:47:5: note:   candidate expects 6 arguments, 2 provided
0_0_24596835_32560.cpp:68:5: note: int Tseg::Query(int*, int, int)
 int Query(int a[],int l,int r){return Query(1,1,n,l,r,a);}
     ^
0_0_24596835_32560.cpp:68:5: note:   candidate expects 3 arguments, 2 provided


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:19:49, Gzip enabled