Closest Pair of Points

From CSES. Minimum Euclidean distance between points. Solve the geometry problem "Closest Pair of Points".

Examples
Input: [1,2,3]
Output: 0
Hints

Closest Pair of Points

**From CSES.** Minimum Euclidean distance between points. Solve the geometry problem "Closest Pair of Points".