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_38021123_18088.cpp: In function 'double area(double, double, double)':
0_0_38021123_18088.cpp:22:5: error: expected ',' or ';' before 'double'
     double t2=acos(y);///计算出d与r2所夹角
     ^
0_0_38021123_18088.cpp:23:27: error: 't2' was not declared in this scope
     return r1*r1*t1+r2*r2*t2-d*r1*sin(t1);///容斥原理,相交的面积等于两扇形面积减去三角形面积
                           ^


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-09-28 20:12:39, Gzip enabled