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_20934243_14364.cpp:19:33: error: stray '#' in program
     return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
                                 ^
0_0_20934243_14364.cpp:29:27: error: stray '#' in program
         for(int i=0;i<n;i++)
                           ^
0_0_20934243_14364.cpp:29:32: error: stray '#' in program
         for(int i=0;i<n;i++)
                                ^
0_0_20934243_14364.cpp:31:29: error: stray '#' in program
         for(int i=0; i<n; i++)
                             ^
0_0_20934243_14364.cpp:31:34: error: stray '#' in program
         for(int i=0; i<n; i++)
                                  ^
0_0_20934243_14364.cpp:36:38: error: stray '#' in program
             aa=a[p[i]].vx*a[p[i]].vx+a[p[i]].vy*a[p[i]].vy-v*v;
                                      ^
0_0_20934243_14364.cpp:37:32: error: stray '#' in program
             bb=2*(A*a[p[i]].vx+B*a[p[i]].vy);
                                ^
0_0_20934243_14364.cpp:38:20: error: stray '#' in program
             cc=A*A+B*B;
                    ^
0_0_20934243_14364.cpp:42:24: error: stray '#' in program
                 t=(-bb+sqrt(bb*bb-4*aa*cc))/(2*aa);
                        ^
0_0_20934243_14364.cpp:46:15: error: stray '#' in program
             t+=1.0;
               ^
0_0_20934243_14364.cpp:47:33: error: stray '#' in program
             for(int j=i; j<n; j++)
                                 ^
0_0_20934243_14364.cpp:47:38: error: stray '#' in program
             for(int j=i; j<n; j++)
                                      ^
0_0_20934243_14364.cpp:49:27: error: stray '#' in program
                 a[p[j]].x+=t*a[p[j]].vx;
                           ^
0_0_20934243_14364.cpp:50:27: error: stray '#' in program
                 a[p[j]].y+=t*a[p[j]].vy;
                           ^
0_0_20934243_14364.cpp:54:17: error: stray '#' in program
             ans+=t;
                 ^
0_0_20934243_14364.cpp:56:13: error: stray '#' in program
         ans+=dis(sx,sy,gx,gy)/v;
             ^
0_0_20934243_14364.cpp:62:32: error: stray '#' in program
     while(next_permutation(p,p+n));
                                ^
0_0_20934243_14364.cpp:64:23: error: stray '#' in program
     s=(int)(mmin*3600+0.9999);
                       ^
0_0_20934243_14364.cpp:76:11: error: stray '#' in program
         g++;
           ^
0_0_20934243_14364.cpp:76:16: error: stray '#' in program
         g++;
                ^
0_0_20934243_14364.cpp:77:29: error: stray '#' in program
         for(int i=0; i<n; i++)
                             ^
0_0_20934243_14364.cpp:77:34: error: stray '#' in program
         for(int i=0; i<n; i++)
                                  ^
0_0_20934243_14364.cpp:82:27: error: stray '#' in program
         for(int i=0;i<n;i++)
                           ^
0_0_20934243_14364.cpp:82:32: error: stray '#' in program
         for(int i=0;i<n;i++)
                                ^
0_0_20934243_14364.cpp: In function 'double dis(double, double, double, double)':
0_0_20934243_14364.cpp:19:34: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
                                  ^
0_0_20934243_14364.cpp:19:52: error: expected ';' before ')' token
     return sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));
                                                    ^
0_0_20934243_14364.cpp: In function 'void solve(int)':
0_0_20934243_14364.cpp:29:30: error: expected ')' before ';' token
         for(int i=0;i<n;i++)
                              ^
0_0_20934243_14364.cpp:29:33: error: lvalue required as unary '&' operand
         for(int i=0;i<n;i++)
                                 ^
0_0_20934243_14364.cpp:29:36: error: expected primary-expression before ')' token
         for(int i=0;i<n;i++)
                                    ^
0_0_20934243_14364.cpp:31:32: error: expected ')' before ';' token
         for(int i=0; i<n; i++)
                                ^
0_0_20934243_14364.cpp:31:35: error: lvalue required as unary '&' operand
         for(int i=0; i<n; i++)
                                   ^
0_0_20934243_14364.cpp:31:38: error: expected primary-expression before ')' token
         for(int i=0; i<n; i++)
                                      ^
0_0_20934243_14364.cpp:56:14: error: invalid operands of types 'double' and 'int' to binary 'operator&'
         ans+=dis(sx,sy,gx,gy)/v;
              ^
0_0_20934243_14364.cpp:56:17: error: expected primary-expression before '=' token
         ans+=dis(sx,sy,gx,gy)/v;
                 ^
0_0_20934243_14364.cpp:62:33: error: invalid operands of types 'int [10]' and 'int' to binary 'operator&'
     while(next_permutation(p,p+n));
                                 ^
0_0_20934243_14364.cpp:62:35: error: expected ')' before ';' token
     while(next_permutation(p,p+n));
                                   ^
0_0_20934243_14364.cpp:62:37: error: expected ';' before ')' token
     while(next_permutation(p,p+n));
                                     ^
0_0_20934243_14364.cpp:64:24: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     s=(int)(mmin*3600+0.9999);
                        ^
0_0_20934243_14364.cpp:64:26: error: expected ')' before ';' token
     s=(int)(mmin*3600+0.9999);
                          ^
0_0_20934243_14364.cpp:64:33: error: expected ';' before ')' token
     s=(int)(mmin*3600+0.9999);
                                 ^
0_0_20934243_14364.cpp: In function 'int main()':
0_0_20934243_14364.cpp:76:17: error: lvalue required as unary '&' operand
         g++;
                 ^
0_0_20934243_14364.cpp:77:32: error: expected ')' before ';' token
         for(int i=0; i<n; i++)
                                ^
0_0_20934243_14364.cpp:77:35: error: lvalue required as unary '&' operand
         for(int i=0; i<n; i++)
                                   ^
0_0_20934243_14364.cpp:77:38: error: expected primary-expression before ')' token
         for(int i=0; i<n; i++)
                                      ^
0_0_20934243_14364.cpp:82:30: error: expected ')' before ';' token
         for(int i=0;i<n;i++)
                              ^
0_0_20934243_14364.cpp:82:33: error: lvalue required as unary '&' operand
         for(int i=0;i<n;i++)
                                 ^
0_0_20934243_14364.cpp:82:36: error: expected primary-expression before ')' token
         for(int i=0;i<n;i++)
                                    ^


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-30 03:21:50, Gzip enabled