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*'
|