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_20981381_18873.cpp:17:52: error: stray '#' in program
 inline double dot(point e,point r) {return e.x*r.x+e.y*r.y+e.z*r.z;}
                                                    ^
0_0_20981381_18873.cpp:17:64: error: stray '#' in program
 inline double dot(point e,point r) {return e.x*r.x+e.y*r.y+e.z*r.z;}
                                                                ^
0_0_20981381_18873.cpp:27:27: error: stray '#' in program
     a.d=a.z/sqrt(sqr(a.x)+sqr(a.y));
                           ^
0_0_20981381_18873.cpp:47:6: error: stray '#' in program
     ++tot,p[tot].x=1,p[tot].y=0,p[tot].z=0;
      ^
0_0_20981381_18873.cpp:47:11: error: stray '#' in program
     ++tot,p[tot].x=1,p[tot].y=0,p[tot].z=0;
           ^
0_0_20981381_18873.cpp:48:6: error: stray '#' in program
     ++tot,p[tot].x=0,p[tot].y=1,p[tot].z=0;
      ^
0_0_20981381_18873.cpp:48:11: error: stray '#' in program
     ++tot,p[tot].x=0,p[tot].y=1,p[tot].z=0;
           ^
0_0_20981381_18873.cpp:49:6: error: stray '#' in program
     ++tot,p[tot].x=-1,p[tot].y=0,p[tot].z=oo;
      ^
0_0_20981381_18873.cpp:49:11: error: stray '#' in program
     ++tot,p[tot].x=-1,p[tot].y=0,p[tot].z=oo;
           ^
0_0_20981381_18873.cpp:50:6: error: stray '#' in program
     ++tot,p[tot].x=0,p[tot].y=-1,p[tot].z=oo;
      ^
0_0_20981381_18873.cpp:50:11: error: stray '#' in program
     ++tot,p[tot].x=0,p[tot].y=-1,p[tot].z=oo;
           ^
0_0_20981381_18873.cpp:51:27: error: stray '#' in program
     for (int i=1;i<=n-1;i++) {
                           ^
0_0_20981381_18873.cpp:51:32: error: stray '#' in program
     for (int i=1;i<=n-1;i++) {
                                ^
0_0_20981381_18873.cpp:52:10: error: stray '#' in program
         ++tot;
          ^
0_0_20981381_18873.cpp:52:15: error: stray '#' in program
         ++tot;
               ^
0_0_20981381_18873.cpp:57:27: error: stray '#' in program
     for (int i=1;i<=tot;i++) ori(p[i]),u[i]=i;
                           ^
0_0_20981381_18873.cpp:57:32: error: stray '#' in program
     for (int i=1;i<=tot;i++) ori(p[i]),u[i]=i;
                                ^
0_0_20981381_18873.cpp:58:12: error: stray '#' in program
     sort(u+1,u+tot+1,cmp);
            ^
0_0_20981381_18873.cpp:58:20: error: stray '#' in program
     sort(u+1,u+tot+1,cmp);
                    ^
0_0_20981381_18873.cpp:58:28: error: stray '#' in program
     sort(u+1,u+tot+1,cmp);
                            ^
0_0_20981381_18873.cpp:61:27: error: stray '#' in program
     for (int i=2;i<=tot;i++) {
                           ^
0_0_20981381_18873.cpp:61:32: error: stray '#' in program
     for (int i=2;i<=tot;i++) {
                                ^
0_0_20981381_18873.cpp:64:48: error: stray '#' in program
         for (;(h<r) && (!check(p[st[h]],p[st[h+1]],p[u[i]]));h++) ;
                                                ^
0_0_20981381_18873.cpp:64:68: error: stray '#' in program
         for (;(h<r) && (!check(p[st[h]],p[st[h+1]],p[u[i]]));h++) ;
                                                                    ^
0_0_20981381_18873.cpp:64:73: error: stray '#' in program
         for (;(h<r) && (!check(p[st[h]],p[st[h+1]],p[u[i]]));h++) ;
                                                                         ^
0_0_20981381_18873.cpp:65:13: error: stray '#' in program
         st[++r]=u[i];
             ^
0_0_20981381_18873.cpp:65:18: error: stray '#' in program
         st[++r]=u[i];
                  ^
0_0_20981381_18873.cpp:69:10: error: stray '#' in program
     st[r+1]=st[h];
          ^
0_0_20981381_18873.cpp:71:25: error: stray '#' in program
     for (int i=h;i<=r;i++) {
                         ^
0_0_20981381_18873.cpp:71:30: error: stray '#' in program
     for (int i=h;i<=r;i++) {
                              ^
0_0_20981381_18873.cpp:73:47: error: stray '#' in program
         if ((st[i]==3) || (st[i]==4) || (st[i+1]==3) || (st[i+1]==4)) continue;
                                               ^
0_0_20981381_18873.cpp:73:67: error: stray '#' in program
         if ((st[i]==3) || (st[i]==4) || (st[i+1]==3) || (st[i+1]==4)) continue;
                                                                   ^
0_0_20981381_18873.cpp:74:31: error: stray '#' in program
         cross(p[st[i]],p[st[i+1]],e);
                               ^
0_0_20981381_18873.cpp:76:37: error: stray '#' in program
         double sum=(WW-s[n]*LL)*e.x+e.y*LL;
                                     ^
0_0_20981381_18873.cpp:88:29: error: stray '#' in program
         for (int i=1;i<=n;i++) {
                             ^
0_0_20981381_18873.cpp:88:34: error: stray '#' in program
         for (int i=1;i<=n;i++) {
                                  ^
0_0_20981381_18873.cpp:91:17: error: stray '#' in program
             tot+=d*t[i];
                 ^
0_0_20981381_18873.cpp:107:27: error: stray '#' in program
         double ans=doit()+t[n]*LL+tot;
                           ^
0_0_20981381_18873.cpp:107:39: error: stray '#' in program
         double ans=doit()+t[n]*LL+tot;
                                       ^
0_0_20981381_18873.cpp: In function 'double dot(point, point)':
0_0_20981381_18873.cpp:17:53: error: invalid operands of types 'double' and 'int' to binary 'operator&'
 inline double dot(point e,point r) {return e.x*r.x+e.y*r.y+e.z*r.z;}
                                                     ^
0_0_20981381_18873.cpp:17:65: error: invalid operands of types 'double' and 'int' to binary 'operator&'
 inline double dot(point e,point r) {return e.x*r.x+e.y*r.y+e.z*r.z;}
                                                                 ^
0_0_20981381_18873.cpp: In function 'void ori(point&)':
0_0_20981381_18873.cpp:27:28: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     a.d=a.z/sqrt(sqr(a.x)+sqr(a.y));
                            ^
0_0_20981381_18873.cpp:27:39: error: expected ';' before ')' token
     a.d=a.z/sqrt(sqr(a.x)+sqr(a.y));
                                       ^
0_0_20981381_18873.cpp: In function 'double doit()':
0_0_20981381_18873.cpp:47:7: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=1,p[tot].y=0,p[tot].z=0;
       ^
0_0_20981381_18873.cpp:47:12: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=1,p[tot].y=0,p[tot].z=0;
            ^
0_0_20981381_18873.cpp:48:7: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=0,p[tot].y=1,p[tot].z=0;
       ^
0_0_20981381_18873.cpp:48:12: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=0,p[tot].y=1,p[tot].z=0;
            ^
0_0_20981381_18873.cpp:49:7: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=-1,p[tot].y=0,p[tot].z=oo;
       ^
0_0_20981381_18873.cpp:49:12: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=-1,p[tot].y=0,p[tot].z=oo;
            ^
0_0_20981381_18873.cpp:50:7: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=0,p[tot].y=-1,p[tot].z=oo;
       ^
0_0_20981381_18873.cpp:50:12: error: lvalue required as unary '&' operand
     ++tot,p[tot].x=0,p[tot].y=-1,p[tot].z=oo;
            ^
0_0_20981381_18873.cpp:51:30: error: expected ')' before ';' token
     for (int i=1;i<=n-1;i++) {
                              ^
0_0_20981381_18873.cpp:51:33: error: lvalue required as unary '&' operand
     for (int i=1;i<=n-1;i++) {
                                 ^
0_0_20981381_18873.cpp:51:36: error: expected primary-expression before ')' token
     for (int i=1;i<=n-1;i++) {
                                    ^
0_0_20981381_18873.cpp:57:30: error: expected ')' before ';' token
     for (int i=1;i<=tot;i++) ori(p[i]),u[i]=i;
                              ^
0_0_20981381_18873.cpp:57:33: error: lvalue required as unary '&' operand
     for (int i=1;i<=tot;i++) ori(p[i]),u[i]=i;
                                 ^
0_0_20981381_18873.cpp:57:36: error: expected primary-expression before ')' token
     for (int i=1;i<=tot;i++) ori(p[i]),u[i]=i;
                                    ^
0_0_20981381_18873.cpp:58:13: error: invalid operands of types 'int [200000]' and 'int' to binary 'operator&'
     sort(u+1,u+tot+1,cmp);
             ^
0_0_20981381_18873.cpp:58:21: error: invalid operands of types 'int [200000]' and 'int' to binary 'operator&'
     sort(u+1,u+tot+1,cmp);
                     ^
0_0_20981381_18873.cpp:58:37: error: expected ';' before ')' token
     sort(u+1,u+tot+1,cmp);
                                     ^
0_0_20981381_18873.cpp:61:30: error: expected ')' before ';' token
     for (int i=2;i<=tot;i++) {
                              ^
0_0_20981381_18873.cpp:61:33: error: lvalue required as unary '&' operand
     for (int i=2;i<=tot;i++) {
                                 ^
0_0_20981381_18873.cpp:61:36: error: expected primary-expression before ')' token
     for (int i=2;i<=tot;i++) {
                                    ^
0_0_20981381_18873.cpp:69:13: error: expected ']' before ';' token
     st[r+1]=st[h];
             ^
0_0_20981381_18873.cpp:69:15: error: expect


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-22 21:55:47, Gzip enabled