0_0_29886487_12367.cpp:38:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
0_0_29886487_12367.cpp:38:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^
0_0_29886487_12367.cpp:41:11: error: redefinition of 'const int maxn'
const int maxn=3e5+10;
^
0_0_29886487_12367.cpp:4:11: note: 'const int maxn' previously defined here
const int maxn=3e5+10;
^
0_0_29886487_12367.cpp:42:8: error: redefinition of 'struct PAM'
struct PAM{
^
0_0_29886487_12367.cpp:5:8: error: previous definition of 'struct PAM'
struct PAM{
^
0_0_29886487_12367.cpp:45:9: error: invalid type in declaration before ';' token
}q[maxn];
^
0_0_29886487_12367.cpp:45:9: error: conflicting declaration 'int q [300010]'
0_0_29886487_12367.cpp:8:2: note: previous declaration as 'PAM q [300010]'
}q[maxn];
^
0_0_29886487_12367.cpp:46:12: error: redefinition of 'char s [300010]'
char s[maxn];
^
0_0_29886487_12367.cpp:9:6: note: 'char s [300010]' previously declared here
char s[maxn];
^
0_0_29886487_12367.cpp:47:5: error: redefinition of 'int n'
int n,last,tot;
^
0_0_29886487_12367.cpp:10:5: note: 'int n' previously declared here
int n,last,tot;
^
0_0_29886487_12367.cpp:47:7: error: redefinition of 'int last'
int n,last,tot;
^
0_0_29886487_12367.cpp:10:7: note: 'int last' previously declared here
int n,last,tot;
^
0_0_29886487_12367.cpp:47:12: error: redefinition of 'int tot'
int n,last,tot;
^
0_0_29886487_12367.cpp:10:12: note: 'int tot' previously declared here
int n,last,tot;
^
0_0_29886487_12367.cpp: In function 'void init()':
0_0_29886487_12367.cpp:48:6: error: redefinition of 'void init()'
void init(){
^
0_0_29886487_12367.cpp:11:6: note: 'void init()' previously defined here
void init(){
^
0_0_29886487_12367.cpp: In function 'int get_fail(int, int)':
0_0_29886487_12367.cpp:51:12: error: redefinition of 'int get_fail(int, int)'
inline int get_fail(int x,int i){
^
0_0_29886487_12367.cpp:14:12: note: 'int get_fail(int, int)' previously defined here
inline int get_fail(int x,int i){
^
0_0_29886487_12367.cpp: In function 'int main()':
0_0_29886487_12367.cpp:55:5: error: redefinition of 'int main()'
int main(){
^
0_0_29886487_12367.cpp:18:5: note: 'int main()' previously defined here
int main(){
^
|