Building Roads
문제
A multi-billionaire has a vision to build a completely new city from scratch. After much research and consultations, locations have been selected for all the houses, shopping malls, restaurants, etc. Roads now have to be added to ensure that every location is reachable by any other location, but only the minimum number of roads should be built. For environmental reasons, it is also desirable to minimize the longest travel between two locations. Each road must connect two locations, but roads may cross each other by adding overpasses (so traffic cannot switch to a different road between locations).
What is the minimum length in the longest travel in the road network designed?
입력
The first line of input contains an integer specifying the number of locations to follow. Each of the next lines contains two integers and (), specifying the coordinates of the th location. All coordinates are specified in meters, and all locations are distinct.
출력
Output the minimum possible length (in meters) of the longest travel between two locations. Your answer should have a relative or absolute error of less than .
예제
예제 1
3 0 0 10 0 0 10
20.0000000000
예제 2
9 0 0 10 0 0 10 -10 0 0 -10 10 10 10 -10 -10 10 -10 -10
28.2842712475