0_0_13804464_23432.cpp:75:2: error: stray '#' in program
}#include<iostream>
^
0_0_13804464_23432.cpp:75:3: error: 'include' does not name a type
}#include<iostream>
^
0_0_13804464_23432.cpp:90:12: error: redefinition of 'int wa [1000005]'
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:16:5: note: 'int wa [1000005]' previously declared here
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:90:21: error: redefinition of 'int wb [1000005]'
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:16:14: note: 'int wb [1000005]' previously declared here
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:90:30: error: redefinition of 'int wv [1000005]'
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:16:23: note: 'int wv [1000005]' previously declared here
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:90:39: error: redefinition of 'int Ws [1000005]'
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp:16:32: note: 'int Ws [1000005]' previously declared here
int wa[maxn],wb[maxn],wv[maxn],Ws[maxn];
^
0_0_13804464_23432.cpp: In function 'int cmp(int*, int, int, int)':
0_0_13804464_23432.cpp:91:5: error: redefinition of 'int cmp(int*, int, int, int)'
int cmp(int *r,int a,int b,int l)
^
0_0_13804464_23432.cpp:17:5: note: 'int cmp(int*, int, int, int)' previously defined here
int cmp(int *r,int a,int b,int l)
^
0_0_13804464_23432.cpp: In function 'void da(const char*, int*, int, int)':
0_0_13804464_23432.cpp:93:6: error: redefinition of 'void da(const char*, int*, int, int)'
void da(const char *r,int *sa,int n,int m){
^
0_0_13804464_23432.cpp:19:6: note: 'void da(const char*, int*, int, int)' previously defined here
void da(const char *r,int *sa,int n,int m){
^
0_0_13804464_23432.cpp: At global scope:
0_0_13804464_23432.cpp:112:12: error: redefinition of 'int sa [1000005]'
int sa[maxn],Rank[maxn],height[maxn];
^
0_0_13804464_23432.cpp:38:5: note: 'int sa [1000005]' previously declared here
int sa[maxn],Rank[maxn],height[maxn];
^
0_0_13804464_23432.cpp:112:23: error: redefinition of 'int Rank [1000005]'
int sa[maxn],Rank[maxn],height[maxn];
^
0_0_13804464_23432.cpp:38:14: note: 'int Rank [1000005]' previously declared here
int sa[maxn],Rank[maxn],height[maxn];
^
0_0_13804464_23432.cpp:112:36: error: redefinition of 'int height [1000005]'
int sa[maxn],Rank[maxn],height[maxn];
^
0_0_13804464_23432.cpp:38:25: note: 'int height [1000005]' previously declared here
int sa[maxn],Rank[maxn],height[maxn];
^
0_0_13804464_23432.cpp: In function 'void calheight(const char*, int*, int)':
0_0_13804464_23432.cpp:113:6: error: redefinition of 'void calheight(const char*, int*, int)'
void calheight(const char *r,int *sa,int n){
^
0_0_13804464_23432.cpp:40:6: note: 'void calheight(const char*, int*, int)' previously defined here
void calheight(const char *r,int *sa,int n){
^
0_0_13804464_23432.cpp: In function 'int slove(int, int)':
0_0_13804464_23432.cpp:120:5: error: redefinition of 'int slove(int, int)'
int slove(int k,int n){
^
0_0_13804464_23432.cpp:47:5: note: 'int slove(int, int)' previously defined here
int slove(int k,int n){
^
0_0_13804464_23432.cpp: At global scope:
0_0_13804464_23432.cpp:136:14: error: redefinition of 'char str [1000005]'
char str[maxn];
^
0_0_13804464_23432.cpp:63:6: note: 'char str [1000005]' previously declared here
char str[maxn];
^
0_0_13804464_23432.cpp: In function 'int main()':
0_0_13804464_23432.cpp:137:5: error: redefinition of 'int main()'
int main(){
^
0_0_13804464_23432.cpp:64:5: note: 'int main()' previously defined here
int main(){
^
|