Triangle
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given a triangle and a point inside it. Through this point draw a line parallel to the sides of the triangle. These lines form the three triangles within a given. Their area known. Find the area of original triangle.
Input
One line contains three real positive numbers S1, S2 and S3. All numbers do not exceed 1000.
Output
Print area of triangle with 8 digits after the decimal point.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 58%