0_0_35421384_23300.cpp: In function 'void debug()':
0_0_35421384_23300.cpp:115:6: error: redefinition of 'void debug()'
void debug(){freopen("data.in","r",stdin);freopen("data.out","w",stdout);}
^
0_0_35421384_23300.cpp:8:6: note: 'void debug()' previously defined here
void debug(){freopen("data.in","r",stdin);freopen("data.out","w",stdout);}
^
0_0_35421384_23300.cpp: At global scope:
0_0_35421384_23300.cpp:119:11: error: redefinition of 'const int maxn'
const int maxn = 200+10;
^
0_0_35421384_23300.cpp:12:11: note: 'const int maxn' previously defined here
const int maxn = 200+10;
^
0_0_35421384_23300.cpp:120:11: error: redefinition of 'const int mod'
const int mod = 1e9+7;
^
0_0_35421384_23300.cpp:13:11: note: 'const int mod' previously defined here
const int mod = 1e9+7;
^
0_0_35421384_23300.cpp:121:5: error: redefinition of 'int T'
int T,n,m;
^
0_0_35421384_23300.cpp:14:5: note: 'int T' previously declared here
int T,n,m;
^
0_0_35421384_23300.cpp:121:7: error: redefinition of 'int n'
int T,n,m;
^
0_0_35421384_23300.cpp:14:7: note: 'int n' previously declared here
int T,n,m;
^
0_0_35421384_23300.cpp:121:9: error: redefinition of 'int m'
int T,n,m;
^
0_0_35421384_23300.cpp:14:9: note: 'int m' previously declared here
int T,n,m;
^
0_0_35421384_23300.cpp:122:13: error: redefinition of 'char str [105]'
char str[105];
^
0_0_35421384_23300.cpp:15:6: note: 'char str [105]' previously declared here
char str[105];
^
0_0_35421384_23300.cpp:126:16: error: redefinition of 'int ac::ch [210][2]'
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:19:6: note: 'int ac::ch [210][2]' previously declared here
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:126:29: error: redefinition of 'int ac::tot [210][2]'
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:19:18: note: 'int ac::tot [210][2]' previously declared here
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:126:31: error: redefinition of 'int ac::cnt'
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:19:31: note: 'int ac::cnt' previously declared here
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:126:44: error: redefinition of 'int ac::fail [210]'
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:19:35: note: 'int ac::fail [210]' previously declared here
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:126:46: error: redefinition of 'int ac::rt'
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:19:46: note: 'int ac::rt' previously declared here
int ch[maxn][2],tot[maxn][2],cnt,fail[maxn],rt;
^
0_0_35421384_23300.cpp:128:32: error: redefinition of 'int ac::dp [2][101][101][210][2][2]'
int dp[2][101][101][maxn][2][2];
^
0_0_35421384_23300.cpp:21:6: note: 'int ac::dp [2][101][101][210][2][2]' previously declared here
int dp[2][101][101][maxn][2][2];
^
0_0_35421384_23300.cpp: In function 'int ac::newnode()':
0_0_35421384_23300.cpp:129:6: error: redefinition of 'int ac::newnode()'
int newnode(){
^
0_0_35421384_23300.cpp:22:6: note: 'int ac::newnode()' previously defined here
int newnode(){
^
0_0_35421384_23300.cpp: In function 'void ac::init()':
0_0_35421384_23300.cpp:135:7: error: redefinition of 'void ac::init()'
void init(){ cnt = -1; rt = newnode();}
^
0_0_35421384_23300.cpp:28:7: note: 'void ac::init()' previously defined here
void init(){ cnt = -1; rt = newnode();}
^
0_0_35421384_23300.cpp: In function 'int ac::encode(char)':
0_0_35421384_23300.cpp:136:6: error: redefinition of 'int ac::encode(char)'
int encode(char ch){
^
0_0_35421384_23300.cpp:29:6: note: 'int ac::encode(char)' previously defined here
int encode(char ch){
^
0_0_35421384_23300.cpp: In function 'void ac::insert(char*, int, int)':
0_0_35421384_23300.cpp:140:7: error: redefinition of 'void ac::insert(char*, int, int)'
void insert(char *s,int l,int val){
^
0_0_35421384_23300.cpp:33:7: note: 'void ac::insert(char*, int, int)' previously defined here
void insert(char *s,int l,int val){
^
0_0_35421384_23300.cpp: In function 'void ac::build()':
0_0_35421384_23300.cpp:149:7: error: redefinition of 'void ac::build()'
void build(){
^
0_0_35421384_23300.cpp:42:7: note: 'void ac::build()' previously defined here
void build(){
^
0_0_35421384_23300.cpp: In function 'int ac::solve()':
0_0_35421384_23300.cpp:167:6: error: redefinition of 'int ac::solve()'
int solve(){
^
0_0_35421384_23300.cpp:60:6: note: 'int ac::solve()' previously defined here
int solve(){
^
0_0_35421384_23300.cpp: In function 'int main()':
0_0_35421384_23300.cpp:195:5: error: redefinition of 'int main()'
int main(){
^
0_0_35421384_23300.cpp:88:5: note: 'int main()' previously defined here
int main(){
^
|