http://uva.onlinejudge.org/external/109/10991.html
- connect the three center of the circles, then u will have a tringle where a = r1+r2, b=r2+r3, c=r3+r1. Find the area of the triangle using heron's formula
- use cosine formula to find out the angle between the connecting lines and find out the area which of arc
- finialy minus these with the value of the triangle and print the value.
0 comments:
Post a Comment