eyewash
This commit is contained in:
parent
6946116272
commit
523ca76c4d
3 changed files with 14 additions and 7 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue