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_20975112_23947.cpp:24:18: error: stray '#' in program
     if(t < 0) t += 2*PI;
                  ^
0_0_20975112_23947.cpp:31:25: error: stray '#' in program
     for(int k=0; k<n; k++)
                         ^
0_0_20975112_23947.cpp:31:30: error: stray '#' in program
     for(int k=0; k<n; k++)
                              ^
0_0_20975112_23947.cpp:34:29: error: stray '#' in program
         for(int i=0; i<n; i++)
                             ^
0_0_20975112_23947.cpp:34:34: error: stray '#' in program
         for(int i=0; i<n; i++)
                                  ^
0_0_20975112_23947.cpp:37:23: error: stray '#' in program
                 A[cnt++] = atan2((double)(p[i].y-p[k].y),(double)(p[i].x-p[k].x));
                       ^
0_0_20975112_23947.cpp:37:28: error: stray '#' in program
                 A[cnt++] = atan2((double)(p[i].y-p[k].y),(double)(p[i].x-p[k].x));
                            ^
0_0_20975112_23947.cpp:39:18: error: stray '#' in program
         sort(A,A+n-1);
                  ^
0_0_20975112_23947.cpp:41:35: error: stray '#' in program
         for(int j=0,i=0; i<n-1; i++)
                                   ^
0_0_20975112_23947.cpp:41:40: error: stray '#' in program
         for(int j=0,i=0; i<n-1; i++)
                                        ^
0_0_20975112_23947.cpp:43:23: error: stray '#' in program
             while(j<i+n-1)
                       ^
0_0_20975112_23947.cpp:46:19: error: stray '#' in program
                 j++;
                   ^
0_0_20975112_23947.cpp:46:24: error: stray '#' in program
                 j++;
                        ^
0_0_20975112_23947.cpp:62:29: error: stray '#' in program
         for(int i=0; i<n; i++)
                             ^
0_0_20975112_23947.cpp:62:34: error: stray '#' in program
         for(int i=0; i<n; i++)
                                  ^
0_0_20975112_23947.cpp: In function 'double angle(double, double)':
0_0_20975112_23947.cpp:24:19: error: invalid operands of types 'double' and 'int' to binary 'operator&'
     if(t < 0) t += 2*PI;
                   ^
0_0_20975112_23947.cpp:24:22: error: expected primary-expression before '=' token
     if(t < 0) t += 2*PI;
                      ^
0_0_20975112_23947.cpp: In function 'LL work()':
0_0_20975112_23947.cpp:31:28: error: expected ')' before ';' token
     for(int k=0; k<n; k++)
                            ^
0_0_20975112_23947.cpp:31:31: error: lvalue required as unary '&' operand
     for(int k=0; k<n; k++)
                               ^
0_0_20975112_23947.cpp:31:34: error: expected primary-expression before ')' token
     for(int k=0; k<n; k++)
                                  ^
0_0_20975112_23947.cpp: In function 'int main()':
0_0_20975112_23947.cpp:62:32: error: expected ')' before ';' token
         for(int i=0; i<n; i++)
                                ^
0_0_20975112_23947.cpp:62:35: error: lvalue required as unary '&' operand
         for(int i=0; i<n; i++)
                                   ^
0_0_20975112_23947.cpp:62:38: 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-28 09:07:11, Gzip enabled