Anonymous user
Ranking methods: Difference between revisions
→{{header|Nim}}
Line 3,093:
=={{header|Nim}}==
===Using an auxiliary table===
To simplify, it’s convenient to build a table giving for each score the list of competitor
<lang Nim>import algorithm, sequtils, stats, tables
Line 3,227 ⟶ 3,228:
7.0: Stephen 39</pre>
But it is possible to do the ranking without an auxiliary table.
<lang Nim>import algorithm
|