0_0_18004100_25013.cpp:106:8: error: redefinition of 'struct Obj'
struct Obj
^
0_0_18004100_25013.cpp:10:8: error: previous definition of 'struct Obj'
struct Obj
^
0_0_18004100_25013.cpp:110:8: error: invalid type in declaration before ';' token
}obj[N];
^
0_0_18004100_25013.cpp:110:8: error: conflicting declaration 'int obj [105000]'
0_0_18004100_25013.cpp:14:2: note: previous declaration as 'Obj obj [105000]'
}obj[N];
^
0_0_18004100_25013.cpp:111:7: error: redefinition of 'long long int p [105000]'
ll p[N],ha[N];
^
0_0_18004100_25013.cpp:15:4: note: 'long long int p [105000]' previously declared here
ll p[N],ha[N];
^
0_0_18004100_25013.cpp:111:13: error: redefinition of 'long long int ha [105000]'
ll p[N],ha[N];
^
0_0_18004100_25013.cpp:15:9: note: 'long long int ha [105000]' previously declared here
ll p[N],ha[N];
^
0_0_18004100_25013.cpp:112:5: error: redefinition of 'int tot'
int tot;
^
0_0_18004100_25013.cpp:16:5: note: 'int tot' previously declared here
int tot;
^
0_0_18004100_25013.cpp: In function 'void init(char*)':
0_0_18004100_25013.cpp:113:6: error: redefinition of 'void init(char*)'
void init(char *s)
^
0_0_18004100_25013.cpp:17:6: note: 'void init(char*)' previously defined here
void init(char *s)
^
0_0_18004100_25013.cpp: In function 'bool solve(char*)':
0_0_18004100_25013.cpp:135:6: error: redefinition of 'bool solve(char*)'
bool solve(char *s)
^
0_0_18004100_25013.cpp:39:6: note: 'bool solve(char*)' previously defined here
bool solve(char *s)
^
0_0_18004100_25013.cpp: At global scope:
0_0_18004100_25013.cpp:173:9: error: redefinition of 'char s [105000]'
char s[N];
^
0_0_18004100_25013.cpp:77:6: note: 'char s [105000]' previously declared here
char s[N];
^
0_0_18004100_25013.cpp: In function 'int main()':
0_0_18004100_25013.cpp:174:5: error: redefinition of 'int main()'
int main ()
^
0_0_18004100_25013.cpp:78:5: note: 'int main()' previously defined here
int main ()
^
|