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_36233482_12812.cpp: In function 'int getCircleCircleIntersection(Circle, Circle, Point&, Point&)':
0_0_36233482_12812.cpp:39:13: error: 'dcmp' was not declared in this scope
   if (dcmp(d) == 0) {   //首先圆心要重合
             ^
0_0_36233482_12812.cpp:43:27: error: 'dcmp' was not declared in this scope
   if (dcmp(C1.r + C2.r - d) < 0) return 0; //相离没交点
                           ^
0_0_36233482_12812.cpp:44:33: error: 'dcmp' was not declared in this scope
   if (dcmp(fabs(C1.r - C2.r) - d) > 0) return 0; //圆在圆中,没有交点
                                 ^
0_0_36233482_12812.cpp:48:19: error: 'dcmp' was not declared in this scope
   if (dcmp(a.x-b.x)==0&&dcmp(a.y-b.y)==0) return 1; //相切
                   ^
0_0_36233482_12812.cpp: In function 'bool isInCircle(Point, Circle)':
0_0_36233482_12812.cpp:52:46: error: 'dcmp' was not declared in this scope
   return dcmp(Dist2(p, cir.c) - cir.r * cir.r) < 0;
                                              ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 04:03:59, Gzip enabled