|Online Judge||Problem Set||Authors||Online Contests||User|
Your task is to write a program, which, given two circles, calculates the area of their intersection with the accuracy of three digits after decimal point.
In the single line of input file there are space-separated real numbers x1 y1 r1 x2 y2 r2. They represent center coordinates and radii of two circles.
The output file must contain single real number - the area.
20.0 30.0 15.0 40.0 30.0 30.0
Northeastern Europe 2000, Far-Eastern Subregion
[Submit] [Go Back] [Status] [Discuss]
Home Page Go Back To top
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator