0_0_29275463_1548.cpp:69:6: error: redefinition of 'bool IOerror'
bool IOerror=0;
^
0_0_29275463_1548.cpp:5:6: note: 'bool IOerror' previously defined here
bool IOerror=0;
^
0_0_29275463_1548.cpp: In function 'char nc()':
0_0_29275463_1548.cpp:70:13: error: redefinition of 'char nc()'
inline char nc(){
^
0_0_29275463_1548.cpp:6:13: note: 'char nc()' previously defined here
inline char nc(){
^
0_0_29275463_1548.cpp: In function 'bool blank(char)':
0_0_29275463_1548.cpp:78:13: error: redefinition of 'bool blank(char)'
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
^
0_0_29275463_1548.cpp:14:13: note: 'bool blank(char)' previously defined here
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
^
0_0_29275463_1548.cpp: In function 'void read(int&)':
0_0_29275463_1548.cpp:79:13: error: redefinition of 'void read(int&)'
inline void read(int &x){
^
0_0_29275463_1548.cpp:15:13: note: 'void read(int&)' previously defined here
inline void read(int &x){
^
0_0_29275463_1548.cpp: At global scope:
0_0_29275463_1548.cpp:87:11: error: redefinition of 'const int maxn'
const int maxn=500005;
^
0_0_29275463_1548.cpp:23:11: note: 'const int maxn' previously defined here
const int maxn=500005;
^
0_0_29275463_1548.cpp:89:11: error: redefinition of 'int a [500005]'
int a[maxn];
^
0_0_29275463_1548.cpp:25:5: note: 'int a [500005]' previously declared here
int a[maxn];
^
0_0_29275463_1548.cpp:90:13: error: redefinition of 'int pos [500005]'
int pos[maxn];
^
0_0_29275463_1548.cpp:26:5: note: 'int pos [500005]' previously declared here
int pos[maxn];
^
0_0_29275463_1548.cpp:91:5: error: redefinition of 'int n'
int n,k;
^
0_0_29275463_1548.cpp:27:5: note: 'int n' previously declared here
int n,k;
^
0_0_29275463_1548.cpp:91:7: error: redefinition of 'int k'
int n,k;
^
0_0_29275463_1548.cpp:27:7: note: 'int k' previously declared here
int n,k;
^
0_0_29275463_1548.cpp:92:9: error: redefinition of 'std::set<int> st'
set<int>st;
^
0_0_29275463_1548.cpp:28:9: note: 'std::set<int> st' previously declared here
set<int>st;
^
0_0_29275463_1548.cpp:93:11: error: redefinition of 'int x [500005]'
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:29:5: note: 'int x [500005]' previously declared here
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:93:19: error: redefinition of 'int y [500005]'
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:29:13: note: 'int y [500005]' previously declared here
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp: In function 'int main()':
0_0_29275463_1548.cpp:94:5: error: redefinition of 'int main()'
int main(){
^
0_0_29275463_1548.cpp:30:5: note: 'int main()' previously defined here
int main(){
^
0_0_29275463_1548.cpp: At global scope:
0_0_29275463_1548.cpp:133:6: error: redefinition of 'bool IOerror'
bool IOerror=0;
^
0_0_29275463_1548.cpp:5:6: note: 'bool IOerror' previously defined here
bool IOerror=0;
^
0_0_29275463_1548.cpp: In function 'char nc()':
0_0_29275463_1548.cpp:134:13: error: redefinition of 'char nc()'
inline char nc(){
^
0_0_29275463_1548.cpp:6:13: note: 'char nc()' previously defined here
inline char nc(){
^
0_0_29275463_1548.cpp: In function 'bool blank(char)':
0_0_29275463_1548.cpp:142:13: error: redefinition of 'bool blank(char)'
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
^
0_0_29275463_1548.cpp:14:13: note: 'bool blank(char)' previously defined here
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
^
0_0_29275463_1548.cpp: In function 'void read(int&)':
0_0_29275463_1548.cpp:143:13: error: redefinition of 'void read(int&)'
inline void read(int &x){
^
0_0_29275463_1548.cpp:15:13: note: 'void read(int&)' previously defined here
inline void read(int &x){
^
0_0_29275463_1548.cpp: At global scope:
0_0_29275463_1548.cpp:151:11: error: redefinition of 'const int maxn'
const int maxn=500005;
^
0_0_29275463_1548.cpp:23:11: note: 'const int maxn' previously defined here
const int maxn=500005;
^
0_0_29275463_1548.cpp:153:11: error: redefinition of 'int a [500005]'
int a[maxn];
^
0_0_29275463_1548.cpp:25:5: note: 'int a [500005]' previously declared here
int a[maxn];
^
0_0_29275463_1548.cpp:154:13: error: redefinition of 'int pos [500005]'
int pos[maxn];
^
0_0_29275463_1548.cpp:26:5: note: 'int pos [500005]' previously declared here
int pos[maxn];
^
0_0_29275463_1548.cpp:155:5: error: redefinition of 'int n'
int n,k;
^
0_0_29275463_1548.cpp:27:5: note: 'int n' previously declared here
int n,k;
^
0_0_29275463_1548.cpp:155:7: error: redefinition of 'int k'
int n,k;
^
0_0_29275463_1548.cpp:27:7: note: 'int k' previously declared here
int n,k;
^
0_0_29275463_1548.cpp:156:9: error: redefinition of 'std::set<int> st'
set<int>st;
^
0_0_29275463_1548.cpp:28:9: note: 'std::set<int> st' previously declared here
set<int>st;
^
0_0_29275463_1548.cpp:157:11: error: redefinition of 'int x [500005]'
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:29:5: note: 'int x [500005]' previously declared here
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:157:19: error: redefinition of 'int y [500005]'
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:29:13: note: 'int y [500005]' previously declared here
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp: In function 'int main()':
0_0_29275463_1548.cpp:158:5: error: redefinition of 'int main()'
int main(){
^
0_0_29275463_1548.cpp:30:5: note: 'int main()' previously defined here
int main(){
^
0_0_29275463_1548.cpp: At global scope:
0_0_29275463_1548.cpp:197:6: error: redefinition of 'bool IOerror'
bool IOerror=0;
^
0_0_29275463_1548.cpp:5:6: note: 'bool IOerror' previously defined here
bool IOerror=0;
^
0_0_29275463_1548.cpp: In function 'char nc()':
0_0_29275463_1548.cpp:198:13: error: redefinition of 'char nc()'
inline char nc(){
^
0_0_29275463_1548.cpp:6:13: note: 'char nc()' previously defined here
inline char nc(){
^
0_0_29275463_1548.cpp: In function 'bool blank(char)':
0_0_29275463_1548.cpp:206:13: error: redefinition of 'bool blank(char)'
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
^
0_0_29275463_1548.cpp:14:13: note: 'bool blank(char)' previously defined here
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
^
0_0_29275463_1548.cpp: In function 'void read(int&)':
0_0_29275463_1548.cpp:207:13: error: redefinition of 'void read(int&)'
inline void read(int &x){
^
0_0_29275463_1548.cpp:15:13: note: 'void read(int&)' previously defined here
inline void read(int &x){
^
0_0_29275463_1548.cpp: At global scope:
0_0_29275463_1548.cpp:215:11: error: redefinition of 'const int maxn'
const int maxn=500005;
^
0_0_29275463_1548.cpp:23:11: note: 'const int maxn' previously defined here
const int maxn=500005;
^
0_0_29275463_1548.cpp:217:11: error: redefinition of 'int a [500005]'
int a[maxn];
^
0_0_29275463_1548.cpp:25:5: note: 'int a [500005]' previously declared here
int a[maxn];
^
0_0_29275463_1548.cpp:218:13: error: redefinition of 'int pos [500005]'
int pos[maxn];
^
0_0_29275463_1548.cpp:26:5: note: 'int pos [500005]' previously declared here
int pos[maxn];
^
0_0_29275463_1548.cpp:219:5: error: redefinition of 'int n'
int n,k;
^
0_0_29275463_1548.cpp:27:5: note: 'int n' previously declared here
int n,k;
^
0_0_29275463_1548.cpp:219:7: error: redefinition of 'int k'
int n,k;
^
0_0_29275463_1548.cpp:27:7: note: 'int k' previously declared here
int n,k;
^
0_0_29275463_1548.cpp:220:9: error: redefinition of 'std::set<int> st'
set<int>st;
^
0_0_29275463_1548.cpp:28:9: note: 'std::set<int> st' previously declared here
set<int>st;
^
0_0_29275463_1548.cpp:221:11: error: redefinition of 'int x [500005]'
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:29:5: note: 'int x [500005]' previously declared here
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:221:19: error: redefinition of 'int y [500005]'
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp:29:13: note: 'int y [500005]' previously declared here
int x[maxn],y[maxn];
^
0_0_29275463_1548.cpp: In function 'int main()':
0_0_29275463_1548.cpp:222:5: error: redefinition of 'int main()'
int main(){
^
0_0_29275463_1548.cpp:30:5: note: 'int main()' previously defined here
int main(){
^
|