0_0_26718025_26410.cpp:158:9: error: redefinition of 'int dx [4]'
int dx[4] = {0,0,1,-1};
^
0_0_26718025_26410.cpp:13:5: note: 'int dx [4]' previously defined here
int dx[4] = {0,0,1,-1};
^
0_0_26718025_26410.cpp:159:9: error: redefinition of 'int dy [4]'
int dy[4] = {1,-1,0,0};
^
0_0_26718025_26410.cpp:14:5: note: 'int dy [4]' previously defined here
int dy[4] = {1,-1,0,0};
^
0_0_26718025_26410.cpp:160:14: error: redefinition of 'const double eps'
const double eps =1e-6;
^
0_0_26718025_26410.cpp:15:14: note: 'const double eps' previously defined here
const double eps =1e-6;
^
0_0_26718025_26410.cpp:161:11: error: redefinition of 'const int mod'
const int mod = 1000000007;
^
0_0_26718025_26410.cpp:16:11: note: 'const int mod' previously defined here
const int mod = 1000000007;
^
0_0_26718025_26410.cpp:162:14: error: redefinition of 'const double PI'
const double PI = acos(-1.0);
^
0_0_26718025_26410.cpp:17:14: note: 'const double PI' previously defined here
const double PI = acos(-1.0);
^
0_0_26718025_26410.cpp: In function 'int read()':
0_0_26718025_26410.cpp:163:12: error: redefinition of 'int read()'
inline int read(){ int num; scanf("%d",&num); return num;}
^
0_0_26718025_26410.cpp:18:12: note: 'int read()' previously defined here
inline int read(){ int num; scanf("%d",&num); return num;}
^
0_0_26718025_26410.cpp: At global scope:
0_0_26718025_26410.cpp:164:11: error: redefinition of 'const int maxn'
const int maxn = 100007;
^
0_0_26718025_26410.cpp:19:11: note: 'const int maxn' previously defined here
const int maxn = 100007;
^
0_0_26718025_26410.cpp: In function 'int sgn(double)':
0_0_26718025_26410.cpp:167:5: error: redefinition of 'int sgn(double)'
int sgn(double x)
^
0_0_26718025_26410.cpp:22:5: note: 'int sgn(double)' previously defined here
int sgn(double x)
^
0_0_26718025_26410.cpp: At global scope:
0_0_26718025_26410.cpp:174:16: error: redefinition of 'struct Point'
typedef struct Point
^
0_0_26718025_26410.cpp:29:16: error: previous definition of 'struct Point'
typedef struct Point
^
0_0_26718025_26410.cpp:214:6: error: invalid type in declaration before ';' token
} Vec;
^
0_0_26718025_26410.cpp:214:6: error: conflicting declaration 'typedef int Vec'
0_0_26718025_26410.cpp:70:15: note: previous declaration as 'typedef struct Point Vec'
typedef Point Vec;
^
0_0_26718025_26410.cpp: In function 'double dist(Point, Point)':
0_0_26718025_26410.cpp:218:8: error: redefinition of 'double dist(Point, Point)'
double dist(Point a,Point b){
^
0_0_26718025_26410.cpp:73:8: note: 'double dist(Point, Point)' previously defined here
double dist(Point a,Point b){
^
0_0_26718025_26410.cpp: In function 'double length(Vec)':
0_0_26718025_26410.cpp:222:8: error: redefinition of 'double length(Vec)'
double length(Vec A){
^
0_0_26718025_26410.cpp:77:8: note: 'double length(Vec)' previously defined here
double length(Vec A){
^
0_0_26718025_26410.cpp: In function 'double dot(Point, Point)':
0_0_26718025_26410.cpp:226:8: error: redefinition of 'double dot(Point, Point)'
double dot(Point a,Point b){return a*b;}
^
0_0_26718025_26410.cpp:81:8: note: 'double dot(Point, Point)' previously defined here
double dot(Point a,Point b){return a*b;}
^
0_0_26718025_26410.cpp: In function 'double cross(Point, Point)':
0_0_26718025_26410.cpp:227:8: error: redefinition of 'double cross(Point, Point)'
double cross(Point a,Point b){return a^b;}
^
0_0_26718025_26410.cpp:82:8: note: 'double cross(Point, Point)' previously defined here
double cross(Point a,Point b){return a^b;}
^
0_0_26718025_26410.cpp: In function 'Point CircumCenter(Point, Point, Point)':
0_0_26718025_26410.cpp:229:7: error: redefinition of 'Point CircumCenter(Point, Point, Point)'
Point CircumCenter(Point a,Point b,Point c){ //三角形的外心
^
0_0_26718025_26410.cpp:84:7: note: 'Point CircumCenter(Point, Point, Point)' previously defined here
Point CircumCenter(Point a,Point b,Point c){ //三角形的外心
^
0_0_26718025_26410.cpp: At global scope:
0_0_26718025_26410.cpp:239:13: error: redefinition of 'Point p [100007]'
Point p[maxn];
^
0_0_26718025_26410.cpp:94:7: note: 'Point p [100007]' previously declared here
Point p[maxn];
^
0_0_26718025_26410.cpp: In function 'bool check(int, Point, double)':
0_0_26718025_26410.cpp:241:6: error: redefinition of 'bool check(int, Point, double)'
bool check(int n,Point cp,double r)
^
0_0_26718025_26410.cpp:96:6: note: 'bool check(int, Point, double)' previously defined here
bool check(int n,Point cp,double r)
^
0_0_26718025_26410.cpp: In function 'int main()':
0_0_26718025_26410.cpp:252:5: error: redefinition of 'int main()'
int main()
^
0_0_26718025_26410.cpp:107:5: note: 'int main()' previously defined here
int main()
^
|