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_20988270_30471.cpp:49:26: error: stray '#' in program
     return sqrt((a.x*a.x+a.y*a.y+a.z*a.z));
                          ^
0_0_20988270_30471.cpp:49:38: error: stray '#' in program
     return sqrt((a.x*a.x+a.y*a.y+a.z*a.z));
                                      ^
0_0_20988270_30471.cpp:55:58: error: stray '#' in program
     plane ans=plane(line.x,line.y,line.z,line.x*(-1)*c.x+line.y*(-1)*c.y+line.z*(-1)*c.z);
                                                          ^
0_0_20988270_30471.cpp:55:78: error: stray '#' in program
     plane ans=plane(line.x,line.y,line.z,line.x*(-1)*c.x+line.y*(-1)*c.y+line.z*(-1)*c.z);
                                                                              ^
0_0_20988270_30471.cpp:60:58: error: stray '#' in program
     double k=((-1)*P.b*C.y-P.a*C.x-P.c*C.z-P.d)/(P.a*B.x+P.b*B.y+P.c*B.z);
                                                          ^
0_0_20988270_30471.cpp:60:70: error: stray '#' in program
     double k=((-1)*P.b*C.y-P.a*C.x-P.c*C.z-P.d)/(P.a*B.x+P.b*B.y+P.c*B.z);
                                                                      ^
0_0_20988270_30471.cpp:61:27: error: stray '#' in program
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                           ^
0_0_20988270_30471.cpp:61:41: error: stray '#' in program
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                                         ^
0_0_20988270_30471.cpp:61:55: error: stray '#' in program
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                                                       ^
0_0_20988270_30471.cpp:82:27: error: stray '#' in program
     for(int ca=1;ca<=t;ca++)
                           ^
0_0_20988270_30471.cpp:82:32: error: stray '#' in program
     for(int ca=1;ca<=t;ca++)
                                ^
0_0_20988270_30471.cpp:88:28: error: stray '#' in program
         for(int i=1;i<=n;i++)
                            ^
0_0_20988270_30471.cpp:88:33: error: stray '#' in program
         for(int i=1;i<=n;i++)
                                 ^
0_0_20988270_30471.cpp:90:31: error: stray '#' in program
             for(int j=0;j<3;j++) 
                               ^
0_0_20988270_30471.cpp:90:36: error: stray '#' in program
             for(int j=0;j<3;j++) 
                                    ^
0_0_20988270_30471.cpp:99:27: error: stray '#' in program
         for(int i=1;i<n;i++)
                           ^
0_0_20988270_30471.cpp:99:32: error: stray '#' in program
         for(int i=1;i<n;i++)
                                ^
0_0_20988270_30471.cpp:101:25: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                         ^
0_0_20988270_30471.cpp:101:38: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                                      ^
0_0_20988270_30471.cpp:101:43: error: stray '#' in program
             for(int j=i+1;j<=n;j++)
                                           ^
0_0_20988270_30471.cpp:104:31: error: stray '#' in program
                 if(temp<=r[i]+r[j])
                               ^
0_0_20988270_30471.cpp: In function 'double pointDis(Vector)':
0_0_20988270_30471.cpp:49:27: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     return sqrt((a.x*a.x+a.y*a.y+a.z*a.z));
                           ^
0_0_20988270_30471.cpp:49:29: error: expected ')' before ';' token
     return sqrt((a.x*a.x+a.y*a.y+a.z*a.z));
                             ^
0_0_20988270_30471.cpp:49:39: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     return sqrt((a.x*a.x+a.y*a.y+a.z*a.z));
                                       ^
0_0_20988270_30471.cpp:49:49: error: expected ';' before ')' token
     return sqrt((a.x*a.x+a.y*a.y+a.z*a.z));
                                                 ^
0_0_20988270_30471.cpp: In function 'plane getPlane(Vector, Vector, point)':
0_0_20988270_30471.cpp:55:59: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     plane ans=plane(line.x,line.y,line.z,line.x*(-1)*c.x+line.y*(-1)*c.y+line.z*(-1)*c.z);
                                                           ^
0_0_20988270_30471.cpp:55:79: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     plane ans=plane(line.x,line.y,line.z,line.x*(-1)*c.x+line.y*(-1)*c.y+line.z*(-1)*c.z);
                                                                               ^
0_0_20988270_30471.cpp:55:97: error: expected ';' before ')' token
     plane ans=plane(line.x,line.y,line.z,line.x*(-1)*c.x+line.y*(-1)*c.y+line.z*(-1)*c.z);
                                                                                                 ^
0_0_20988270_30471.cpp: In function 'point getPoint(plane, Vector, point)':
0_0_20988270_30471.cpp:60:59: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     double k=((-1)*P.b*C.y-P.a*C.x-P.c*C.z-P.d)/(P.a*B.x+P.b*B.y+P.c*B.z);
                                                           ^
0_0_20988270_30471.cpp:60:61: error: expected ')' before ';' token
     double k=((-1)*P.b*C.y-P.a*C.x-P.c*C.z-P.d)/(P.a*B.x+P.b*B.y+P.c*B.z);
                                                             ^
0_0_20988270_30471.cpp:60:71: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     double k=((-1)*P.b*C.y-P.a*C.x-P.c*C.z-P.d)/(P.a*B.x+P.b*B.y+P.c*B.z);
                                                                       ^
0_0_20988270_30471.cpp:60:81: error: expected ';' before ')' token
     double k=((-1)*P.b*C.y-P.a*C.x-P.c*C.z-P.d)/(P.a*B.x+P.b*B.y+P.c*B.z);
                                                                                 ^
0_0_20988270_30471.cpp:61:28: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                            ^
0_0_20988270_30471.cpp:61:42: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                                          ^
0_0_20988270_30471.cpp:61:56: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                                                        ^
0_0_20988270_30471.cpp:61:62: error: expected ';' before ')' token
     point ans=point(B.x*k+C.x,B.y*k+C.y,B.z*k+C.z);
                                                              ^
0_0_20988270_30471.cpp: In function 'int main()':
0_0_20988270_30471.cpp:82:30: error: expected ')' before ';' token
     for(int ca=1;ca<=t;ca++)
                              ^
0_0_20988270_30471.cpp:82:33: error: lvalue required as unary '&' operand
     for(int ca=1;ca<=t;ca++)
                                 ^
0_0_20988270_30471.cpp:82:36: error: expected primary-expression before ')' token
     for(int ca=1;ca<=t;ca++)
                                    ^


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-11-25 19:32:37, Gzip enabled