Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
HUffman树。每次选取的是最小的两块板。费用为树的结点的和。最小堆用在这里是,期间可以用最小堆的方法求出两个最小的值。 而不是每次求出最短的木板锯下来。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator