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_14971162_7438.cpp:16:19: error: declaration does not declare anything [-fpermissive]
 typedef long long int;
                   ^
0_0_14971162_7438.cpp:44:1: error: 'LL' does not name a type
 LL Cross(Vector A, Vector B){return (LL)A.x*B.y-(LL)A.y*B.x;}
 ^
0_0_14971162_7438.cpp: In function 'int ConvexHull(Point*, int, Point*)':
0_0_14971162_7438.cpp:63:63: error: 'Cross' was not declared in this scope
         while(m > 1 && Cross(ch[m-1] - ch[m-2], p[i] - ch[m-2]) <= 0) m--;
                                                               ^
0_0_14971162_7438.cpp:69:63: error: 'Cross' was not declared in this scope
         while(m > k && Cross(ch[m-1] - ch[m-2], p[i] - ch[m-2]) <= 0) m--;
                                                               ^
0_0_14971162_7438.cpp: In function 'int main()':
0_0_14971162_7438.cpp:148:45: error: 'Cross' was not declared in this scope
                 if(Cross(v, L[idx].p - pa[i]) >= 0 && Cross(v, L[idx].p + L[idx].v - pa[i]) >= 0){
                                             ^


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-29 22:20:18, Gzip enabled