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_13340291_5094.cpp:163:11: error: redefinition of 'const int SIZE'
 const int SIZE = 100005;
           ^
0_0_13340291_5094.cpp:5:11: note: 'const int SIZE' previously defined here
 const int SIZE = 100005; 
           ^
0_0_13340291_5094.cpp:164:11: error: redefinition of 'const int L'
 const int L = -1;
           ^
0_0_13340291_5094.cpp:6:11: note: 'const int L' previously defined here
 const int L = -1; 
           ^
0_0_13340291_5094.cpp:165:11: error: redefinition of 'const int R'
 const int R = 1;
           ^
0_0_13340291_5094.cpp:7:11: note: 'const int R' previously defined here
 const int R = 1; 
           ^
0_0_13340291_5094.cpp:172:2: error: conflicting declaration 'typedef struct coord coord'
 }coord;
  ^
0_0_13340291_5094.cpp:14:2: note: previous declaration as 'typedef struct coord coord'
 }coord; 
  ^
0_0_13340291_5094.cpp:174:15: error: redefinition of 'coord num [100005]'
 coord num[SIZE], c[SIZE]/*用作辅助数组*/;
               ^
0_0_13340291_5094.cpp:16:7: note: 'coord num [100005]' previously declared here
 coord num[SIZE], c[SIZE]/*用作辅助数组*/; 
       ^
0_0_13340291_5094.cpp:174:24: error: redefinition of 'coord c [100005]'
 coord num[SIZE], c[SIZE]/*用作辅助数组*/;
                        ^
0_0_13340291_5094.cpp:16:18: note: 'coord c [100005]' previously declared here
 coord num[SIZE], c[SIZE]/*用作辅助数组*/; 
                  ^
0_0_13340291_5094.cpp: In function 'double getDistance(coord&, coord&)':
0_0_13340291_5094.cpp:176:8: error: redefinition of 'double getDistance(coord&, coord&)'
 double getDistance(coord &bi1, coord &bi2)  /*求得两点之间的距离*/
        ^
0_0_13340291_5094.cpp:18:8: note: 'double getDistance(coord&, coord&)' previously defined here
 double getDistance(coord &bi1, coord &bi2)  /*求得两点之间的距离*/ 
        ^
0_0_13340291_5094.cpp: In function 'bool cmpx(coord&, coord&)':
0_0_13340291_5094.cpp:181:6: error: redefinition of 'bool cmpx(coord&, coord&)'
 bool cmpx(coord &bi1, coord &bi2)
      ^
0_0_13340291_5094.cpp:23:6: note: 'bool cmpx(coord&, coord&)' previously defined here
 bool cmpx(coord &bi1, coord &bi2) 
      ^
0_0_13340291_5094.cpp: In function 'bool cmpy(coord&, coord&)':
0_0_13340291_5094.cpp:189:6: error: redefinition of 'bool cmpy(coord&, coord&)'
 bool cmpy(coord &bi1, coord &bi2)
      ^
0_0_13340291_5094.cpp:31:6: note: 'bool cmpy(coord&, coord&)' previously defined here
 bool cmpy(coord &bi1, coord &bi2) 
      ^
0_0_13340291_5094.cpp: In function 'double min(double&, double&, double&)':
0_0_13340291_5094.cpp:197:15: error: redefinition of 'double min(double&, double&, double&)'
 inline double min(double &bi1, double &bi2, double &bi3)
               ^
0_0_13340291_5094.cpp:39:15: note: 'double min(double&, double&, double&)' previously defined here
 inline double min(double &bi1, double &bi2, double &bi3) 
               ^
0_0_13340291_5094.cpp: In function 'double minDist(double&, double&)':
0_0_13340291_5094.cpp:205:15: error: redefinition of 'double minDist(double&, double&)'
 inline double minDist(double &bi1, double &bi2)
               ^
0_0_13340291_5094.cpp:47:15: note: 'double minDist(double&, double&)' previously defined here
 inline double minDist(double &bi1, double &bi2) 
               ^
0_0_13340291_5094.cpp: In function 'double divide_conquer(int, int)':
0_0_13340291_5094.cpp:213:8: error: redefinition of 'double divide_conquer(int, int)'
 double divide_conquer(int low, int high) /*分治法求最小距离*/
        ^
0_0_13340291_5094.cpp:55:8: note: 'double divide_conquer(int, int)' previously defined here
 double divide_conquer(int low, int high) /*分治法求最小距离*/ 
        ^
0_0_13340291_5094.cpp:283:4: error: expected '}' at end of input
    }
    ^
0_0_13340291_5094.cpp:283:4: error: expected '}' at end of input
0_0_13340291_5094.cpp:283:4: error: expected '}' at end of input


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-09-28 21:24:30, Gzip enabled