F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 12:20:46, Gzip enabled