Problem H. maximum shortest distance

时间限制 1000 ms   内存限制 32 MB

There are n points in the plane. Your task is to pick k points (k>=2), and make the closest points in these k points as far as possible.
 

输入数据

For each case, the first line contains two integers n and k. The following n lines represent n points. Each contains two integers x and y. 2<=n<=50, 2<=k<=n, 0<=x,y<10000.
 

输出数据

For each case, output a line contains a real number with precision up to two decimal places.

 

样例输入

复制
3 2
0 0
10 0
0 20

样例输出

复制
22.36

提交

请先 登录

© 2025 FAQs Contact About