|
||||||||||
Tell me the areaTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4914 Accepted Submission(s): 1522 Problem Description There are two circles in the plane (shown in the below picture), there is a common area between the two circles. The problem is easy that you just tell me the common area. Input There are many cases. In each case, there are two lines. Each line has three numbers: the coordinates (X and Y) of the centre of a circle, and the radius of the circle. Output For each case, you just print the common area which is rounded to three digits after the decimal point. For more details, just look at the sample. Sample Input
Sample Output
Author wangye Source | ||||||||||
|