logo AlgoBeat OnlineJudge
登录 注册

#213552. [COCI 2020/2021 #2] Odasiljaci

内存限制:512 MiB 时间限制:1000 ms 标准输入输出
题目类型:VJudge(洛谷) 评测方式:VJudge
上传者: 匿名

题目描述

Sadly, this is the last time Sean will play James Bond.

His mission is to network antennas that are scattered across a vast desert, which can be represented as a 2D plane. He will set the transmission radius of each antenna to be the same non negative real number . The range of an antenna is defined as the set of all points whose distance to the antenna is at most . If ranges of two antennas have a common point, those antennas can directly communicate. Also, if antennas and can communicate, as well as antennas and , then antennas and are also able to communicate, through antenna .

Sean wants to network the antennas, i.e. make possible for every two antennas to communicate. Since has limited his spending for this mission, and larger radii require more money, Sean will choose the smallest possible radius . Help him solve this problem!

输入格式

The first line contains an integer (), the number of antennas.

Each of the following lines contains integers and (), coordinates of the -th antenna.

输出格式

Output the minimal radius.

Your answer will be considered correct if its absolute or relative error doesn't exceed .

样例

样例输入 1

2
1 1
2 2

样例输出 1

0.7071068

样例输入 2

7
2 3
3 4
4 5
0 1
3 1
4 2
1 5

样例输出 2

1.4142135

样例输入 3

4
2020 20
20 2020
2020 2020
20 20

样例输出 3

1000.0000000

数据范围与提示

Clarification of the second example: