My output does not match for sample input.

For each test case, my procedure is.

1.Read R1,R2,R3.

Make a triange by center of given 3 circles.

2.

Evaluate 3 sides of the triangle.

s12=R1+R2; s13=R1+R3; s23=R2+R3;

Finf out Area of the triangle.

Suppose Area is A.

3.

Find out angle of each point of the triangle.

A1=asin((2*A)/(s12*s13))

A2=Same formulae.

A3=Same formulae.

Convert A1,A2,A3 into degree from radian.

4.Find out area of part of each circle which is inside triangle.

v1=(pi*R1*R1*A1)/360

v2=same process

v3=same process

5.Sum=v1+v2+v3.

5.result=A-sum.

6.Display result with 6 decimal place.

Code: Select all

```
Delete Code
```