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_37562648_12842.cpp: In function 'double area(P, P, double)':
0_0_37562648_12842.cpp:169:6: error: expected ';' before numeric constant
 1.00 2
      ^
0_0_37562648_12842.cpp:182:12: error: 'rad' was not declared in this scope
     if(sgn(rad+pi)<0)rad+=2*pi;
            ^
0_0_37562648_12842.cpp:183:12: error: 'rad' was not declared in this scope
     if(sgn(rad-pi)>0)rad-=2*pi;
            ^
0_0_37562648_12842.cpp:185:16: error: 'rad' was not declared in this scope
     return r*r*rad/2;
                ^


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 21:41:02, Gzip enabled