0_0_26045867_32603.cpp:101:2: error: stray '#' in program
}#include<iostream>
^
0_0_26045867_32603.cpp:101:3: error: 'include' does not name a type
}#include<iostream>
^
0_0_26045867_32603.cpp:107:11: error: redefinition of 'const int N'
const int N=1e5+5;
^
0_0_26045867_32603.cpp:7:11: note: 'const int N' previously defined here
const int N=1e5+5;
^
0_0_26045867_32603.cpp:108:11: error: redefinition of 'const int M'
const int M=5e5+5;
^
0_0_26045867_32603.cpp:8:11: note: 'const int M' previously defined here
const int M=5e5+5;
^
0_0_26045867_32603.cpp:110:5: error: redefinition of 'int idx'
int idx;
^
0_0_26045867_32603.cpp:10:5: note: 'int idx' previously declared here
int idx;
^
0_0_26045867_32603.cpp:111:15: error: redefinition of 'int trie [500005][26]'
int trie[M][26],fail[M],cnt[M];
^
0_0_26045867_32603.cpp:11:5: note: 'int trie [500005][26]' previously declared here
int trie[M][26],fail[M],cnt[M];
^
0_0_26045867_32603.cpp:111:23: error: redefinition of 'int fail [500005]'
int trie[M][26],fail[M],cnt[M];
^
0_0_26045867_32603.cpp:11:17: note: 'int fail [500005]' previously declared here
int trie[M][26],fail[M],cnt[M];
^
0_0_26045867_32603.cpp:111:30: error: redefinition of 'int cnt [500005]'
int trie[M][26],fail[M],cnt[M];
^
0_0_26045867_32603.cpp:11:25: note: 'int cnt [500005]' previously declared here
int trie[M][26],fail[M],cnt[M];
^
0_0_26045867_32603.cpp:112:9: error: redefinition of 'char s [100005]'
char s[N],str[N];
^
0_0_26045867_32603.cpp:12:6: note: 'char s [100005]' previously declared here
char s[N],str[N];
^
0_0_26045867_32603.cpp:112:16: error: redefinition of 'char str [100005]'
char s[N],str[N];
^
0_0_26045867_32603.cpp:12:11: note: 'char str [100005]' previously declared here
char s[N],str[N];
^
0_0_26045867_32603.cpp: In function 'void init()':
0_0_26045867_32603.cpp:114:6: error: redefinition of 'void init()'
void init(){
^
0_0_26045867_32603.cpp:14:6: note: 'void init()' previously defined here
void init(){
^
0_0_26045867_32603.cpp: In function 'void Insert(char*)':
0_0_26045867_32603.cpp:121:6: error: redefinition of 'void Insert(char*)'
void Insert(char *s){
^
0_0_26045867_32603.cpp:21:6: note: 'void Insert(char*)' previously defined here
void Insert(char *s){
^
0_0_26045867_32603.cpp: In function 'void getfail()':
0_0_26045867_32603.cpp:133:6: error: redefinition of 'void getfail()'
void getfail(){
^
0_0_26045867_32603.cpp:33:6: note: 'void getfail()' previously defined here
void getfail(){
^
0_0_26045867_32603.cpp: In function 'int get(int)':
0_0_26045867_32603.cpp:157:5: error: redefinition of 'int get(int)'
int get(int u){
^
0_0_26045867_32603.cpp:57:5: note: 'int get(int)' previously defined here
int get(int u){
^
0_0_26045867_32603.cpp: In function 'int match(char*)':
0_0_26045867_32603.cpp:167:5: error: redefinition of 'int match(char*)'
int match(char *s){
^
0_0_26045867_32603.cpp:67:5: note: 'int match(char*)' previously defined here
int match(char *s){
^
0_0_26045867_32603.cpp: In function 'int main()':
0_0_26045867_32603.cpp:177:5: error: redefinition of 'int main()'
int main(){
^
0_0_26045867_32603.cpp:77:5: note: 'int main()' previously defined here
int main(){
^
|