RosettaCodeData/Task/Closest-pair-problem/AutoHotkey/closest-pair-problem-2.ahk
2023-07-01 13:44:08 -04:00

2 lines
140 B
AutoHotkey

points := [[1, 1], [12, 30], [40, 50], [5, 1], [12, 10], [3, 4], [17,25], [45,50],[51,34],[2,1],[2,2],[10,10]]
MsgBox % ClosestPair(points)