Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
4
Task/Priority-queue/11l/priority-queue.11l
Normal file
4
Task/Priority-queue/11l/priority-queue.11l
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
V items = [(3, ‘Clear drains’), (4, ‘Feed cat’), (5, ‘Make tea’), (1, ‘Solve RC tasks’), (2, ‘Tax return’)]
|
||||
minheap:heapify(&items)
|
||||
L !items.empty
|
||||
print(minheap:pop(&items))
|
||||
Loading…
Add table
Add a link
Reference in a new issue