0_0_29354798_13311.cpp:122:2: error: stray '#' in program
}#include <iostream>
^
0_0_29354798_13311.cpp:122:3: error: 'include' does not name a type
}#include <iostream>
^
0_0_29354798_13311.cpp:131:11: error: redefinition of 'const int CH'
const int CH =4,NODE = 1005;
^
0_0_29354798_13311.cpp:10:11: note: 'const int CH' previously defined here
const int CH =4,NODE = 1005;
^
0_0_29354798_13311.cpp:131:17: error: redefinition of 'const int NODE'
const int CH =4,NODE = 1005;
^
0_0_29354798_13311.cpp:10:17: note: 'const int NODE' previously defined here
const int CH =4,NODE = 1005;
^
0_0_29354798_13311.cpp:132:5: error: redefinition of 'int m'
int m,n;
^
0_0_29354798_13311.cpp:11:5: note: 'int m' previously declared here
int m,n;
^
0_0_29354798_13311.cpp:132:7: error: redefinition of 'int n'
int m,n;
^
0_0_29354798_13311.cpp:11:7: note: 'int n' previously declared here
int m,n;
^
0_0_29354798_13311.cpp: In function 'int idx(char)':
0_0_29354798_13311.cpp:133:5: error: redefinition of 'int idx(char)'
int idx(char x)
^
0_0_29354798_13311.cpp:12:5: note: 'int idx(char)' previously defined here
int idx(char x)
^
0_0_29354798_13311.cpp: At global scope:
0_0_29354798_13311.cpp:140:16: error: redefinition of 'int ch [1005][4]'
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:19:5: note: 'int ch [1005][4]' previously declared here
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:140:24: error: redefinition of 'int f [1005]'
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:19:18: note: 'int f [1005]' previously declared here
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:140:34: error: redefinition of 'int val [1005]'
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:19:26: note: 'int val [1005]' previously declared here
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:140:36: error: redefinition of 'int sz'
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:19:36: note: 'int sz' previously declared here
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:140:45: error: redefinition of 'int v [1005]'
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp:19:39: note: 'int v [1005]' previously declared here
int ch[NODE][CH],f[NODE],val[NODE],sz,v[NODE];
^
0_0_29354798_13311.cpp: In function 'int node()':
0_0_29354798_13311.cpp:142:5: error: redefinition of 'int node()'
int node()
^
0_0_29354798_13311.cpp:21:5: note: 'int node()' previously defined here
int node()
^
0_0_29354798_13311.cpp: In function 'void init()':
0_0_29354798_13311.cpp:148:6: error: redefinition of 'void init()'
void init()
^
0_0_29354798_13311.cpp:27:6: note: 'void init()' previously defined here
void init()
^
0_0_29354798_13311.cpp: In function 'void ins(char*, int)':
0_0_29354798_13311.cpp:154:6: error: redefinition of 'void ins(char*, int)'
void ins(char *s,int i)
^
0_0_29354798_13311.cpp:33:6: note: 'void ins(char*, int)' previously defined here
void ins(char *s,int i)
^
0_0_29354798_13311.cpp: At global scope:
0_0_29354798_13311.cpp:167:14: error: redefinition of 'int queu [1005]'
int queu[NODE];
^
0_0_29354798_13311.cpp:46:5: note: 'int queu [1005]' previously declared here
int queu[NODE];
^
0_0_29354798_13311.cpp: In function 'void getfail()':
0_0_29354798_13311.cpp:168:6: error: redefinition of 'void getfail()'
void getfail()
^
0_0_29354798_13311.cpp:47:6: note: 'void getfail()' previously defined here
void getfail()
^
0_0_29354798_13311.cpp: At global scope:
0_0_29354798_13311.cpp:190:23: error: redefinition of 'bool dp [2][1005][1024]'
bool dp[2][1005][1<<10];
^
0_0_29354798_13311.cpp:69:6: note: 'bool dp [2][1005][1024]' previously declared here
bool dp[2][1005][1<<10];
^
0_0_29354798_13311.cpp: In function 'int get(int)':
0_0_29354798_13311.cpp:192:5: error: redefinition of 'int get(int)'
int get(int x)
^
0_0_29354798_13311.cpp:71:5: note: 'int get(int)' previously defined here
int get(int x)
^
0_0_29354798_13311.cpp: In function 'void solve()':
0_0_29354798_13311.cpp:201:6: error: redefinition of 'void solve()'
void solve()
^
0_0_29354798_13311.cpp:80:6: note: 'void solve()' previously defined here
void solve()
^
0_0_29354798_13311.cpp: In function 'int main()':
0_0_29354798_13311.cpp:228:5: error: redefinition of 'int main()'
int main()
^
0_0_29354798_13311.cpp:107:5: note: 'int main()' previously defined here
int main()
^
|