This commit is contained in:
Arne Döring 2018-11-20 11:28:55 +01:00 • committed by Araq
commit 523ca76c4d
3 changed files with 14 additions and 7 deletions

View file

@ -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])