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_18468501_24916.cpp: In function 'double rad(Point, Point)':
0_0_18468501_24916.cpp:69:55: error: 'dot' was not declared in this scope
     return fabs (atan2 (fabs (cross (a, b)), dot (a, b)) );
                                                       ^
0_0_18468501_24916.cpp: In member function 'double Line::length()':
0_0_18468501_24916.cpp:113:25: error: 'dis' was not declared in this scope
         return dis (s, e);
                         ^
0_0_18468501_24916.cpp: In function 'double point_to_seg(Point, Line)':
0_0_18468501_24916.cpp:128:34: error: 'dot' was not declared in this scope
     if (dcmp (dot (p-a.s, a.e-a.s)) < 0 || dcmp (dot (p-a.e, a.s-a.e)) < 0)
                                  ^
0_0_18468501_24916.cpp:129:32: error: 'dis' was not declared in this scope
         return min (dis (p, a.e), dis (p, a.s));
                                ^
0_0_18468501_24916.cpp: In function 'Point projection(Point, Line)':
0_0_18468501_24916.cpp:134:51: error: 'dot' was not declared in this scope
     return a.s + (((a.e-a.s) * dot (a.e-a.s, p-a.s)) / (a.e-a.s).len2() );
                                                   ^
0_0_18468501_24916.cpp: In function 'int relation(Point, Circle)':
0_0_18468501_24916.cpp:171:27: error: 'dis' was not declared in this scope
     double d = dis (p, a.p);
                           ^
0_0_18468501_24916.cpp: In function 'int relation(Circle, Circle)':
0_0_18468501_24916.cpp:185:29: error: 'dis' was not declared in this scope
     double d = dis (a.p, v.p);
                             ^
0_0_18468501_24916.cpp: In function 'int circle_intersection(Circle, Circle, Point&, Point&)':
0_0_18468501_24916.cpp:198:29: error: 'dis' was not declared in this scope
     double d = dis (a.p, v.p);
                             ^
0_0_18468501_24916.cpp: In function 'double circle_traingle_area(Point, Point, Circle)':
0_0_18468501_24916.cpp:234:38: error: 'dot' was not declared in this scope
         if (dcmp (dot (a-q[1], b-q[1])) < 0) q[len++] = q[1];
                                      ^
0_0_18468501_24916.cpp:235:38: error: 'dot' was not declared in this scope
         if (dcmp (dot (a-q[2], b-q[2])) < 0) q[len++] = q[2];
                                      ^
0_0_18468501_24916.cpp:238:52: error: 'dot' was not declared in this scope
     if (len == 4 && dcmp (dot (q[0]-q[1], q[2]-q[1])) > 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-12-04 12:20:22, Gzip enabled