给定 nnn 个坐标 x1,x2,…,xnx_1,x_2,\dots,x_nx1,x2,…,xn 请从中挑出 kkk 个坐标(kkk 为给定值),使得选出的坐标两两之间的最短距离最大。
5 3 3 2 1 4 5
2
使用您的 XMOJ 通用账户