Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: A Triangle and a Circle
Description Given one triangle and one circle in the plane. Your task is to calculate the common area of these two figures. Input The input will contain several test cases. Each line of input describes a test case. Each test case consists of nine floating point numbers, Output For each test case you should output one real number, which is the common area of the triangle and the circle, on a separate line. The result should be rounded to two decimal places. Sample Input 0 20 10 0 -10 0 0 0 10 Sample Output 144.35 Source POJ Monthly--2006.08.27, Rainer |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator