1768: 利用自定义get函数从堆中取出并删除一个元素
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:18
Solved:2
Description
从一个已知的堆中取出一个最小的元素并删除,然后输出堆
Input
输入2行
第一行为n
第二行为n个堆数据
Output
输出删除元素后的堆数据
Sample Input Copy
10
1 1 2 5 4 4 3 7 5 6
Sample Output Copy
1 4 2 5 6 4 3 7 5