Anonymous user
Number reversal game: Difference between revisions
Updated to work with Nim 1.4: replaced "import math" with "import random". Removed proc "shuffle" which is provided by module "random".
Alextretyak (talk | contribs) (Added 11l) |
(Updated to work with Nim 1.4: replaced "import math" with "import random". Removed proc "shuffle" which is provided by module "random".) |
||
Line 2,388:
=={{header|Nim}}==
<lang nim>import
randomize()
proc isSorted[T](s: openarray[T]): bool =
|