「BZOJ1336 / 1337」[Balkan2002] Alien最小圆覆盖

2014年5月22日4,3751

Description

给出N个点,让你画一个最小的包含所有点的圆。

Input

先给出点的个数N,2<=N<=100000,再给出坐标Xi,Yi.(-10000.0<=xi,yi<=10000.0)

Output

输出圆的半径,及圆心的坐标

Sample Input

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
 

Sample Output

5.00
5.00 5.00

HINT

用传说中的随机增量法,请自行百度

 

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Recent comment authors
  Subscribe  
提醒
吴钰晗

我惊讶的发现我没写过随机增量