0_0_33391966_718.cpp:224:11: error: redefinition of 'const int NN'
const int NN = 100111;
^
0_0_33391966_718.cpp:8:11: note: 'const int NN' previously defined here
const int NN = 100111;
^
0_0_33391966_718.cpp:225:5: error: redefinition of 'int n'
int n;
^
0_0_33391966_718.cpp:9:5: note: 'int n' previously declared here
int n;
^
0_0_33391966_718.cpp:227:10: error: redefinition of 'char s [100111]'
char s[NN];
^
0_0_33391966_718.cpp:11:6: note: 'char s [100111]' previously declared here
char s[NN];
^
0_0_33391966_718.cpp:228:9: error: redefinition of 'int I [100111]'
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:12:5: note: 'int I [100111]' previously declared here
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:228:15: error: redefinition of 'int H [100111]'
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:12:11: note: 'int H [100111]' previously declared here
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:228:22: error: redefinition of 'int rk [100111]'
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:12:17: note: 'int rk [100111]' previously declared here
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:228:29: error: redefinition of 'int sa [100111]'
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:12:24: note: 'int sa [100111]' previously declared here
int I[NN],H[NN],rk[NN],sa[NN];
^
0_0_33391966_718.cpp:229:12: error: redefinition of 'int head [100111]'
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:13:5: note: 'int head [100111]' previously declared here
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:229:20: error: redefinition of 'int buf [100111]'
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:13:14: note: 'int buf [100111]' previously declared here
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:229:28: error: redefinition of 'int nxt [100111]'
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:13:22: note: 'int nxt [100111]' previously declared here
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:229:39: error: redefinition of 'int mn [100111][17]'
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:13:30: note: 'int mn [100111][17]' previously declared here
int head[NN],buf[NN],nxt[NN],mn[NN][17];
^
0_0_33391966_718.cpp:230:11: error: redefinition of 'pii pos [100111]'
pii pos[NN];
^
0_0_33391966_718.cpp:14:5: note: 'pii pos [100111]' previously declared here
pii pos[NN];
^
0_0_33391966_718.cpp: In function 'void bucket_sort(int)':
0_0_33391966_718.cpp:232:6: error: redefinition of 'void bucket_sort(int)'
void bucket_sort(int n){
^
0_0_33391966_718.cpp:16:6: note: 'void bucket_sort(int)' previously defined here
void bucket_sort(int n){
^
0_0_33391966_718.cpp: In function 'void buildSA(int)':
0_0_33391966_718.cpp:258:6: error: redefinition of 'void buildSA(int)'
void buildSA(int n){
^
0_0_33391966_718.cpp:42:6: note: 'void buildSA(int)' previously defined here
void buildSA(int n){
^
0_0_33391966_718.cpp: In function 'int lcp(int, int)':
0_0_33391966_718.cpp:291:5: error: redefinition of 'int lcp(int, int)'
int lcp(int u,int v){
^
0_0_33391966_718.cpp:75:5: note: 'int lcp(int, int)' previously defined here
int lcp(int u,int v){
^
|