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_20570037_31009.cpp: In member function 'db C::inta_c(const C&) const':
0_0_20570037_31009.cpp:305:33: error: 'M_PI' was not declared in this scope
   if (d < c.r - r + eps) return M_PI*r*r;
                                 ^
0_0_20570037_31009.cpp:306:33: error: 'M_PI' was not declared in this scope
   if (d < r - c.r + eps) return M_PI*c.r*c.r;
                                 ^
0_0_20570037_31009.cpp: In function 'db ang(db)':
0_0_20570037_31009.cpp:335:21: error: 'M_PI' was not declared in this scope
  if (t < -eps) t += M_PI;
                     ^
0_0_20570037_31009.cpp:336:10: error: 'M_PI' was not declared in this scope
  if (t > M_PI-eps) t -= M_PI;
          ^
0_0_20570037_31009.cpp:337:27: error: 'M_PI' was not declared in this scope
  return max(t, 0.0)*180.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 00:51:39, Gzip enabled