0_0_16187458_21090.cpp:62:2: error: stray '#' in program
}#include<cstdio>
^
0_0_16187458_21090.cpp:123:2: error: stray '#' in program
}#include<cstdio>
^
0_0_16187458_21090.cpp:62:3: error: 'include' does not name a type
}#include<cstdio>
^
0_0_16187458_21090.cpp:67:11: error: redefinition of 'const int MAXN'
const int MAXN=100005;
^
0_0_16187458_21090.cpp:6:11: note: 'const int MAXN' previously defined here
const int MAXN=100005;
^
0_0_16187458_21090.cpp:68:5: error: redefinition of 'int T'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:5: note: 'int T' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:68:7: error: redefinition of 'int N'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:7: note: 'int N' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:68:9: error: redefinition of 'int len'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:9: note: 'int len' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:68:13: error: redefinition of 'int cnt'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:13: note: 'int cnt' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:69:11: error: redefinition of 'long long int A'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:11: note: 'long long int A' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:69:13: error: redefinition of 'long long int B'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:13: note: 'long long int B' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:69:22: error: redefinition of 'long long int cost [26]'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:15: note: 'long long int cost [26]' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:69:31: error: redefinition of 'long long int dp [100005]'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:24: note: 'long long int dp [100005]' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:70:12: error: redefinition of 'char s [100005]'
char s[MAXN];
^
0_0_16187458_21090.cpp:9:6: note: 'char s [100005]' previously declared here
char s[MAXN];
^
0_0_16187458_21090.cpp:71:8: error: redefinition of 'struct State'
struct State{
^
0_0_16187458_21090.cpp:10:8: error: previous definition of 'struct State'
struct State{
^
0_0_16187458_21090.cpp:75:7: error: invalid type in declaration before ',' token
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:75:7: error: conflicting declaration 'int* root'
0_0_16187458_21090.cpp:14:3: note: previous declaration as 'State* root'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:75:9: error: conflicting declaration 'int* last'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:14:9: note: previous declaration as 'State* last'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:75:15: error: conflicting declaration 'int* cur'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:14:15: note: previous declaration as 'State* cur'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:75:36: error: conflicting declaration 'int generator [200010]'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:14:19: note: previous declaration as 'State generator [200010]'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp: In function 'void extend(int)':
0_0_16187458_21090.cpp:76:6: error: redefinition of 'void extend(int)'
void extend(int w){
^
0_0_16187458_21090.cpp:15:6: note: 'void extend(int)' previously defined here
void extend(int w){
^
0_0_16187458_21090.cpp: At global scope:
0_0_16187458_21090.cpp:95:13: error: redefinition of 'int que [100005]'
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:34:5: note: 'int que [100005]' previously declared here
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:95:15: error: redefinition of 'int be'
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:34:15: note: 'int be' previously declared here
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:95:18: error: redefinition of 'int en'
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:34:18: note: 'int en' previously declared here
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:95:21: error: redefinition of 'int kase'
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp:34:21: note: 'int kase' previously declared here
int que[MAXN],be,en,kase;
^
0_0_16187458_21090.cpp: In function 'int main()':
0_0_16187458_21090.cpp:96:5: error: redefinition of 'int main()'
int main(){
^
0_0_16187458_21090.cpp:35:5: note: 'int main()' previously defined here
int main(){
^
0_0_16187458_21090.cpp: At global scope:
0_0_16187458_21090.cpp:123:3: error: 'include' does not name a type
}#include<cstdio>
^
0_0_16187458_21090.cpp:128:11: error: redefinition of 'const int MAXN'
const int MAXN=100005;
^
0_0_16187458_21090.cpp:6:11: note: 'const int MAXN' previously defined here
const int MAXN=100005;
^
0_0_16187458_21090.cpp:129:5: error: redefinition of 'int T'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:5: note: 'int T' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:129:7: error: redefinition of 'int N'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:7: note: 'int N' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:129:9: error: redefinition of 'int len'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:9: note: 'int len' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:129:13: error: redefinition of 'int cnt'
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:7:13: note: 'int cnt' previously declared here
int T,N,len,cnt;
^
0_0_16187458_21090.cpp:130:11: error: redefinition of 'long long int A'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:11: note: 'long long int A' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:130:13: error: redefinition of 'long long int B'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:13: note: 'long long int B' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:130:22: error: redefinition of 'long long int cost [26]'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:15: note: 'long long int cost [26]' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:130:31: error: redefinition of 'long long int dp [100005]'
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:8:24: note: 'long long int dp [100005]' previously declared here
long long A,B,cost[26],dp[MAXN];
^
0_0_16187458_21090.cpp:131:12: error: redefinition of 'char s [100005]'
char s[MAXN];
^
0_0_16187458_21090.cpp:9:6: note: 'char s [100005]' previously declared here
char s[MAXN];
^
0_0_16187458_21090.cpp:132:8: error: redefinition of 'struct State'
struct State{
^
0_0_16187458_21090.cpp:10:8: error: previous definition of 'struct State'
struct State{
^
0_0_16187458_21090.cpp:136:7: error: invalid type in declaration before ',' token
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:136:7: error: conflicting declaration 'int* root'
0_0_16187458_21090.cpp:14:3: note: previous declaration as 'State* root'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:136:9: error: conflicting declaration 'int* last'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:14:9: note: previous declaration as 'State* last'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:136:15: error: conflicting declaration 'int* cur'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:14:15: note: previous declaration as 'State* cur'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:136:36: error: conflicting declaration 'int generator [200010]'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp:14:19: note: previous declaration as 'State generator [200010]'
}*root,*last,*cur,generator[MAXN<<1];
^
0_0_16187458_21090.cpp: In function 'void extend(int)':
0_0_16187458_21090.cpp:137:6: error: redefinition of 'void extend(int)'
void extend(int w){
^
0_0_16187458_21090.cpp:15:6: note: 'void extend(int)' previously defined here
void extend(int w){
^
0_0_16187458_21090.cpp: At global scope:
0_0_16187458_21090.cpp:156:13: error: redefinition of 'int que
|