Closest-pair problem: Difference between revisions
Content added Content deleted
(Add Rust implementation) |
MaiconSoft (talk | contribs) m (Added Delphi reference to Pascal code) |
||
Line 979: | Line 979: | ||
<pre>Closest pair: Distance: 0.019212 p1, p2: 9.74223+119.419i, 9.72306+119.418i</pre> |
<pre>Closest pair: Distance: 0.019212 p1, p2: 9.74223+119.419i, 9.72306+119.418i</pre> |
||
About 0.12 seconds run-time for brute-force version 2 (10_000 points) with with LDC2 compiler. |
About 0.12 seconds run-time for brute-force version 2 (10_000 points) with with LDC2 compiler. |
||
=={{header|Delphi}}== |
|||
See [https://rosettacode.org/wiki/Closest-pair_problem#Pascal Pascal]. |
|||
=={{header|Elixir}}== |
=={{header|Elixir}}== |