mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-01 03:24:41 +00:00
eyewash
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
discard """
|
||||
output: '''
|
||||
3
|
||||
25
|
||||
40
|
||||
50
|
||||
100
|
||||
200
|
||||
300
|
||||
400
|
||||
'''
|
||||
"""
|
||||
|
||||
@@ -20,4 +20,4 @@ proc sleepsort(nums: openArray[int]) =
|
||||
spawn single(nums[i])
|
||||
i += 1
|
||||
|
||||
sleepsort([50,3,40,25])
|
||||
sleepsort([400,100,300,200])
|
||||
|
||||
Reference in New Issue
Block a user