[REDACTED]! In his dream, [REDACTED] appears times on the 2D plane, at different points. Because likes round objects, all of the points appear on an ellipse centred at with its semi-major and semi-minor axes lying on the x and y-axes, respectively. wants to be really close to [REDACTED], so he would like to find the distance between the 2 closest points. Can you help ?
is dreaming aboutInput Specification
The first line will contain . The next lines will contains 2 real numbers , the coordinates of one of the points.
Output Specification
The distance between the 2 closest points. Your answer will be judged as correct if it is within an absolute or relative error of .
Subtasks
Subtask 1 [30%]
Subtask 2 [70%]
Sample Input
10
52.971372 -46.163430
48.437918 -48.556681
-60.234919 -41.540429
-63.111931 39.377980
-24.842362 56.659883
79.122941 20.681073
-11.977885 58.684788
-83.596602 8.292359
32.146228 -54.818804
-83.759327 7.438750
Sample Output
0.868981
Comments