#P1742. 最小圆覆盖
最小圆覆盖
Description
Given points, find the smallest circle that contains all the points.
Input Format
The first line contains an integer representing the number of points. The next lines each contain two real numbers representing the coordinates of a point. Each value has at most two decimal places.
Output Format
The first line contains a real number representing the circle’s radius. The second line contains two real numbers representing the coordinates of the circle’s center. This problem uses an SPJ (special judge); your answer is considered correct if its absolute error from the standard answer does not exceed .
6
8.0 9.0
4.0 7.5
1.0 2.0
5.1 8.7
9.0 2.0
4.5 1.0
5.0000000000
5.0000000000 5.0000000000
Hint
For of the testdata, , . SPJ added on 2022-02-26.
Translated by ChatGPT 5
京公网安备 11011102002149号