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_36404965_13000.cpp: In member function 'void Sig::insert(int, int, int&, int, int, long long int, long long int)':
0_0_36404965_13000.cpp:27:74: error: no matching function for call to 'Sig::insert(int&, int&, long long int&, long long int&, int&, long long int&, long long int&)'
    ch[now][1]=ch[pre][1],insert(l,mid,ch[now][0],ch[pre][0],pos,val0,val1);
                                                                          ^
0_0_36404965_13000.cpp:27:74: note: candidate is:
0_0_36404965_13000.cpp:19:10: note: void Sig::insert(int, int, int&, int, int, long long int, long long int)
     void insert(int l,int r,int&now,int pre,int pos,LL val0,LL val1){
          ^
0_0_36404965_13000.cpp:19:10: note:   no known conversion for argument 3 from 'long long int' to 'int&'
0_0_36404965_13000.cpp:29:76: error: no matching function for call to 'Sig::insert(int, int&, long long int&, long long int&, int&, long long int&, long long int&)'
    ch[now][0]=ch[pre][0],insert(mid+1,r,ch[now][1],ch[pre][1],pos,val0,val1);
                                                                            ^
0_0_36404965_13000.cpp:29:76: note: candidate is:
0_0_36404965_13000.cpp:19:10: note: void Sig::insert(int, int, int&, int, int, long long int, long long int)
     void insert(int l,int r,int&now,int pre,int pos,LL val0,LL val1){
          ^
0_0_36404965_13000.cpp:19:10: note:   no known conversion for argument 3 from 'long long int' to 'int&'


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-26 05:38:58, Gzip enabled