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_25940617_7285.cpp: In member function 'void Suffix_Array::DA()':
0_0_25940617_7285.cpp:47:47: error: no matching function for call to 'Suffix_Array::cmp(int*&, int&, int&, int&)'
                 x[sa[i]]=cmp(y,sa[i-1],sa[i],k)?tot-1:tot++;
                                               ^
0_0_25940617_7285.cpp:47:47: note: candidate is:
0_0_25940617_7285.cpp:26:10: note: bool Suffix_Array::cmp(char*, int, int, int)
     bool cmp(char *s,int x,int y,int k)
          ^
0_0_25940617_7285.cpp:26:10: note:   no known conversion for argument 1 from 'int*' to 'char*'


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-04 17:22:26, Gzip enabled