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_24806981_31524.cpp: In function 'int calc(int)':
0_0_24806981_31524.cpp:57:89: error: 'M_PI' was not declared in this scope
   if(sgn(det(vec(seg[i]),poi(-1,0)))!=0&&sgn(abs(calcang(seg[i][0])-calcang(seg[i][1]))-M_PI)>0)flag=0;
                                                                                         ^
0_0_24806981_31524.cpp:60:22: error: 'M_PI' was not declared in this scope
    e[++tot]=(event){-M_PI,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-06-29 06:00:25, Gzip enabled