0_0_16816918_2591.cpp:98:14: error: redefinition of 'const double eps'
const double eps = 1e-9;
^
0_0_16816918_2591.cpp:17:14: note: 'const double eps' previously defined here
const double eps = 1e-9;
^
0_0_16816918_2591.cpp:99:14: error: redefinition of 'const double PI'
const double PI = acos(-1.0);
^
0_0_16816918_2591.cpp:18:14: note: 'const double PI' previously defined here
const double PI = acos(-1.0);
^
0_0_16816918_2591.cpp:100:11: error: redefinition of 'const int N'
const int N = 23;
^
0_0_16816918_2591.cpp:19:11: note: 'const int N' previously defined here
const int N = 23;
^
0_0_16816918_2591.cpp:101:5: error: redefinition of 'int n'
int n , time;
^
0_0_16816918_2591.cpp:20:5: note: 'int n' previously declared here
int n , time;
^
0_0_16816918_2591.cpp:101:9: error: redefinition of 'int time'
int n , time;
^
0_0_16816918_2591.cpp:20:9: note: 'int time' previously declared here
int n , time;
^
0_0_16816918_2591.cpp:102:8: error: redefinition of 'double angle'
double angle;
^
0_0_16816918_2591.cpp:21:8: note: 'double angle' previously declared here
double angle;
^
0_0_16816918_2591.cpp:103:11: error: redefinition of 'double x [23]'
double x[N],y[N] ;
^
0_0_16816918_2591.cpp:22:8: note: 'double x [23]' previously declared here
double x[N],y[N] ;
^
0_0_16816918_2591.cpp:103:16: error: redefinition of 'double y [23]'
double x[N],y[N] ;
^
0_0_16816918_2591.cpp:22:13: note: 'double y [23]' previously declared here
double x[N],y[N] ;
^
0_0_16816918_2591.cpp:104:6: error: redefinition of 'int a'
int a , b , c;
^
0_0_16816918_2591.cpp:23:6: note: 'int a' previously declared here
int a , b , c;
^
0_0_16816918_2591.cpp:104:10: error: redefinition of 'int b'
int a , b , c;
^
0_0_16816918_2591.cpp:23:10: note: 'int b' previously declared here
int a , b , c;
^
0_0_16816918_2591.cpp:104:14: error: redefinition of 'int c'
int a , b , c;
^
0_0_16816918_2591.cpp:23:14: note: 'int c' previously declared here
int a , b , c;
^
0_0_16816918_2591.cpp:105:13: error: redefinition of 'double anl [23]'
double anl[N];
^
0_0_16816918_2591.cpp:24:8: note: 'double anl [23]' previously declared here
double anl[N];
^
0_0_16816918_2591.cpp:106:8: error: redefinition of 'struct point'
struct point{
^
0_0_16816918_2591.cpp:25:8: error: previous definition of 'struct point'
struct point{
^
0_0_16816918_2591.cpp: In function 'double lens(point)':
0_0_16816918_2591.cpp:111:8: error: redefinition of 'double lens(point)'
double lens(point A){ return sqrt(A.x*A.x + A.y*A.y); }
^
0_0_16816918_2591.cpp:30:8: note: 'double lens(point)' previously defined here
double lens(point A){ return sqrt(A.x*A.x + A.y*A.y); }
^
0_0_16816918_2591.cpp: In function 'double getangle(int, int, int)':
0_0_16816918_2591.cpp:112:8: error: redefinition of 'double getangle(int, int, int)'
double getangle(int a , int b ,int c){
^
0_0_16816918_2591.cpp:31:8: note: 'double getangle(int, int, int)' previously defined here
double getangle(int a , int b ,int c){
^
0_0_16816918_2591.cpp: In function 'void cal(int)':
0_0_16816918_2591.cpp:117:6: error: redefinition of 'void cal(int)'
void cal(int pos){
^
0_0_16816918_2591.cpp:36:6: note: 'void cal(int)' previously defined here
void cal(int pos){
^
0_0_16816918_2591.cpp: In function 'int main()':
0_0_16816918_2591.cpp:142:5: error: redefinition of 'int main()'
int main()
^
0_0_16816918_2591.cpp:61:5: note: 'int main()' previously defined here
int main()
^
|