Problem E
Triangle Pendant
Given a point
Input
There are multiple test cases. The first line of the input
contains an integer
The first and only line contains six integers
You can assume that the solution always exists.
Output
For each test case output one line containing three real
numbers indicating the height of points
Your answer will be considered correct if the absolute or
relative error to the correct answer does not exceed
Sample Input 1 | Sample Output 1 |
---|---|
2 1 1 1 1 1 1 2 3 3 1 1 1 |
-0.816496580927726 -0.816496580927726 -0.816496580927726 -2.000000000000000 -2.866025403784439 -2.866025403784439 |