#D10863. Circumscribed Circle of a Triangle
Circumscribed Circle of a Triangle
Circumscribed Circle of a Triangle
Write a program which prints the central coordinate (,) and the radius of a circumscribed circle of a triangle which is constructed by three points (, ), (, ) and (, ) on the plane surface.
Constraints
- The three points are not on the same straight line
Input
The input is given in the following format
All the input are integers.
Output
Print , and separated by a single space in a line. The output val ues should be in a decimal fraction with an error less than 0.000001.
Examples
Input
1 -2 3 2 -2 0
Output
0.62500000000000000000 0.68750000000000000000 2.71353666826155124291
Input
0 3 4 0 0 0
Output
2.00000000000000000000 1.50000000000000000000 2.50000000000000000000
inputFormat
Input
The input is given in the following format
All the input are integers.
outputFormat
Output
Print , and separated by a single space in a line. The output val ues should be in a decimal fraction with an error less than 0.000001.
Examples
Input
1 -2 3 2 -2 0
Output
0.62500000000000000000 0.68750000000000000000 2.71353666826155124291
Input
0 3 4 0 0 0
Output
2.00000000000000000000 1.50000000000000000000 2.50000000000000000000
样例
1 -2
3 2
-2 0
0.62500000000000000000 0.68750000000000000000 2.71353666826155124291