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_13952230_8388.cpp: In function 'void init()':
0_0_13952230_8388.cpp:26:54: error: 'M_PI' was not declared in this scope
  scanf("%d%d%d%lf", &n, &m, &bgn, &ini), ini = 2.0 * M_PI * ini / 360.0;
                                                      ^
0_0_13952230_8388.cpp: In function 'double angle(Point, Point)':
0_0_13952230_8388.cpp:39:9: error: 'M_PI' was not declared in this scope
  return M_PI - ret;
         ^
0_0_13952230_8388.cpp: In function 'void work()':
0_0_13952230_8388.cpp:48:23: error: 'M_PI' was not declared in this scope
   double best = 5.0 * M_PI;
                       ^


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-26 05:28:27, Gzip enabled