0_0_20989808_24185.cpp:6:20: error: stray '#' in program
const int maxn=1e3+9;
^
0_0_20989808_24185.cpp:16:19: error: stray '#' in program
return sqrt(a+b);
^
0_0_20989808_24185.cpp:21:24: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:21:29: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:22:31: error: stray '#' in program
if(cal(xx,yy,x[i],y[i])>d+epx) return false;
^
0_0_20989808_24185.cpp:33:28: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:33:33: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:45:28: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:45:33: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:48:28: error: stray '#' in program
double xx=x[i]+(rx-x[i])*(d/tmp);
^
0_0_20989808_24185.cpp:49:28: error: stray '#' in program
double yy=y[i]+(ry-y[i])*(d/tmp);
^
0_0_20989808_24185.cpp:60:28: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:60:33: error: stray '#' in program
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:61:21: error: stray '#' in program
for(int j=i+1;j<=n;j++)
^
0_0_20989808_24185.cpp:61:34: error: stray '#' in program
for(int j=i+1;j<=n;j++)
^
0_0_20989808_24185.cpp:61:39: error: stray '#' in program
for(int j=i+1;j<=n;j++)
^
0_0_20989808_24185.cpp:63:45: error: stray '#' in program
if(cal(x[i],y[i],x[j],y[j])>2*d+epx) continue;
^
0_0_20989808_24185.cpp:67:28: error: stray '#' in program
double xx=x[i]+x1/2,yy=y[i]+y1/2;
^
0_0_20989808_24185.cpp:67:45: error: stray '#' in program
double xx=x[i]+x1/2,yy=y[i]+y1/2;
^
0_0_20989808_24185.cpp:73:34: error: stray '#' in program
double tt=sqrt(ex*ex+ey*ey);
^
0_0_20989808_24185.cpp:74:16: error: stray '#' in program
xx+=txt*ex/tt;
^
0_0_20989808_24185.cpp:75:16: error: stray '#' in program
yy+=txt*ey/tt;
^
0_0_20989808_24185.cpp:6:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
const int maxn=1e3+9;
^
0_0_20989808_24185.cpp:6:24: error: expected unqualified-id before numeric constant
const int maxn=1e3+9;
^
0_0_20989808_24185.cpp:10:14: error: size of array 'x' is not an integral constant-expression
double x[maxn],y[maxn];
^
0_0_20989808_24185.cpp:10:22: error: size of array 'y' is not an integral constant-expression
double x[maxn],y[maxn];
^
0_0_20989808_24185.cpp: In function 'double cal(double, double, double, double)':
0_0_20989808_24185.cpp:16:20: error: invalid operands of types 'double' and 'int' to binary 'operator&'
return sqrt(a+b);
^
0_0_20989808_24185.cpp:16:24: error: expected ';' before ')' token
return sqrt(a+b);
^
0_0_20989808_24185.cpp: In function 'bool chk(double, double)':
0_0_20989808_24185.cpp:21:27: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:21:30: error: lvalue required as unary '&' operand
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:21:33: error: expected primary-expression before ')' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:22:38: error: expected ';' before ')' token
if(cal(xx,yy,x[i],y[i])>d+epx) return false;
^
0_0_20989808_24185.cpp: In function 'int main()':
0_0_20989808_24185.cpp:33:31: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:33:34: error: lvalue required as unary '&' operand
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:33:37: error: expected primary-expression before ')' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:45:31: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:45:34: error: lvalue required as unary '&' operand
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:45:37: error: expected primary-expression before ')' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:60:31: error: expected ')' before ';' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:60:34: error: lvalue required as unary '&' operand
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:60:37: error: expected primary-expression before ')' token
for(int i=1;i<=n;i++)
^
0_0_20989808_24185.cpp:61:27: error: 'j' was not declared in this scope
for(int j=i+1;j<=n;j++)
^
0_0_20989808_24185.cpp:61:40: error: lvalue required as unary '&' operand
for(int j=i+1;j<=n;j++)
^
0_0_20989808_24185.cpp:61:43: error: expected primary-expression before ')' token
for(int j=i+1;j<=n;j++)
^
|