0_0_21860830_549.cpp:5:19: error: stray '#' in program
#define MAXN 5000 #define eps 1e-9
^
0_0_21860830_549.cpp:50:9: note: in expansion of macro 'MAXN'
point p[MAXN+5];
^
0_0_21860830_549.cpp:5:19: error: stray '#' in program
#define MAXN 5000 #define eps 1e-9
^
0_0_21860830_549.cpp:51:10: note: in expansion of macro 'MAXN'
double c[MAXN+5];
^
0_0_21860830_549.cpp:5:20: error: expected ']' before 'define'
#define MAXN 5000 #define eps 1e-9
^
0_0_21860830_549.cpp:50:9: note: in expansion of macro 'MAXN'
point p[MAXN+5];
^
0_0_21860830_549.cpp:5:20: error: expected ']' before 'define'
#define MAXN 5000 #define eps 1e-9
^
0_0_21860830_549.cpp:51:10: note: in expansion of macro 'MAXN'
double c[MAXN+5];
^
0_0_21860830_549.cpp: In function 'int sgn(double)':
0_0_21860830_549.cpp:57:11: error: 'eps' was not declared in this scope
if (x>eps) return 1;
^
0_0_21860830_549.cpp:58:12: error: 'eps' was not declared in this scope
if (x<-eps) return -1;
^
0_0_21860830_549.cpp: In function 'int main()':
0_0_21860830_549.cpp:76:50: error: 'p' was not declared in this scope
for (int i=0;i<n;i++) scanf("%lf%lf%lf",&p[i].x,&p[i].y,&c[i]);
^
0_0_21860830_549.cpp:76:66: error: 'c' was not declared in this scope
for (int i=0;i<n;i++) scanf("%lf%lf%lf",&p[i].x,&p[i].y,&c[i]);
^
0_0_21860830_549.cpp:77:9: error: 'p' was not declared in this scope
p[n] = p[0];
^
0_0_21860830_549.cpp:115:28: error: 'c' was not declared in this scope
now *= c[i];
^
|