Construct triangle 4
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Construct a triangle given the lengths of its three sides.
Input
The program receives three real numbers as input, representing the lengths of the sides of a triangle. These side lengths are positive numbers, each not exceeding 10^4, and they satisfy the triangle inequality conditions.
Output
Output 6 real numbers, which are the coordinates of the vertices of a triangle that matches the given side lengths. Ensure the coordinates are presented with a precision of at least 6 decimal places.
Examples
Input #1
Answer #1
Submissions 221
Acceptance rate 51%