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_35191038_22854.cpp: In function 'bool G2::isright(G2::line, G2::point)':
0_0_35191038_22854.cpp:70:64: error: 'cross' was not declared in this scope
  inline bool isright(line a,point b){return cross(a.t-a.s,b-a.s)<0;}
                                                                ^
0_0_35191038_22854.cpp: In function 'G2::point G2::intersection(G2::line, G2::line)':
0_0_35191038_22854.cpp:74:46: error: 'cross' was not declared in this scope
   return a.s+(a.t-a.s)*(cross(a.s-b.s,b.t-b.s)/cross(b.t-b.s,a.t-a.s));
                                              ^


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 22:15:28, Gzip enabled