#c22603. 平面最近点对
平面最近点对
Closest Pair of Points
Problem Description
Given points on a plane, find the Euclidean distance between the closest pair of points.
Input Format
The first line contains an integer .
The next lines each contain two numbers , the coordinates of a point.
Output Format
Output one number, the answer. A relative or absolute error within is accepted.
Sample Input
3
1.0 2.0
1.0 3.0
1.0 5.0
Sample Output
1.00000000
Constraints
For of the data: , .