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_25940609_17139.cpp: In function 'int main()':
0_0_25940609_17139.cpp:87:21: error: no matching function for call to 'Suffix_Array::ins(char*, int&)'
         SA.ins(s+1,n); SA.DA(); SA.cal_height();
                     ^
0_0_25940609_17139.cpp:87:21: note: candidate is:
0_0_25940609_17139.cpp:28:10: note: void Suffix_Array::ins(int*, int)
     void ins(int *str,int len) {s=str;n=len+1;}
          ^
0_0_25940609_17139.cpp:28:10: note:   no known conversion for argument 1 from 'char*' 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-07-04 17:50:16, Gzip enabled