Game of Points

There are n points in the plane, the ith of which is labeled Pi and has coordinates (xi,yi).

We know that the formula of Euclidean distance ( https://en.wikipedia.org/wiki/Euclidean_distance ) of two points which is denoted fun(P,Q) = ((p1 - q1)^2 + (p2 - q2)^2)^(1/2)


This is a companion discussion topic for the original entry at https://toph.co/p/game-of-points