0_0_31235536_8660.cpp:152:11: error: redefinition of 'const int MAXN'
const int MAXN = 805000;
^
0_0_31235536_8660.cpp:12:11: note: 'const int MAXN' previously defined here
const int MAXN = 80500;
^
0_0_31235536_8660.cpp:153:12: error: redefinition of 'int wa [80500]'
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:13:5: note: 'int wa [80500]' previously declared here
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:153:22: error: redefinition of 'int wb [80500]'
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:13:15: note: 'int wb [80500]' previously declared here
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:153:32: error: redefinition of 'int wv [80500]'
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:13:25: note: 'int wv [80500]' previously declared here
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:153:42: error: redefinition of 'int Ws [80500]'
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:13:35: note: 'int Ws [80500]' previously declared here
int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
^
0_0_31235536_8660.cpp:154:12: error: redefinition of 'int sa [80500]'
int sa[MAXN], height[MAXN], Rank[MAXN];
^
0_0_31235536_8660.cpp:14:5: note: 'int sa [80500]' previously declared here
int sa[MAXN], height[MAXN], Rank[MAXN];
^
0_0_31235536_8660.cpp:154:26: error: redefinition of 'int height [80500]'
int sa[MAXN], height[MAXN], Rank[MAXN];
^
0_0_31235536_8660.cpp:14:15: note: 'int height [80500]' previously declared here
int sa[MAXN], height[MAXN], Rank[MAXN];
^
0_0_31235536_8660.cpp:154:38: error: redefinition of 'int Rank [80500]'
int sa[MAXN], height[MAXN], Rank[MAXN];
^
0_0_31235536_8660.cpp:14:29: note: 'int Rank [80500]' previously declared here
int sa[MAXN], height[MAXN], Rank[MAXN];
^
0_0_31235536_8660.cpp: In function 'void BuildSA(const int*, int*, int, int)':
0_0_31235536_8660.cpp:156:6: error: redefinition of 'void BuildSA(const int*, int*, int, int)'
void BuildSA(const int* s, int* sa, int n, int m) {
^
0_0_31235536_8660.cpp:16:6: note: 'void BuildSA(const int*, int*, int, int)' previously defined here
void BuildSA(const int* s, int* sa, int n, int m) {
^
0_0_31235536_8660.cpp: In function 'void BuildHeight(int*, int, int*, int*)':
0_0_31235536_8660.cpp:183:6: error: redefinition of 'void BuildHeight(int*, int, int*, int*)'
void BuildHeight(int *str, int n, int *sa, int *Rank) {
^
0_0_31235536_8660.cpp:43:6: note: 'void BuildHeight(int*, int, int*, int*)' previously defined here
void BuildHeight(int *str, int n, int *sa, int *Rank) {
^
0_0_31235536_8660.cpp: In function 'int main()':
0_0_31235536_8660.cpp:193:5: error: redefinition of 'int main()'
int main()
^
0_0_31235536_8660.cpp:53:5: note: 'int main()' previously defined here
int main()
^
|