![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
优先队列
介绍优先队列的有关题目
随意凯
这个作者很懒,什么都没留下…
展开
-
poj 2010 Moo University - Financial Aid——优先队列+贪心(详细注释)
Description Bessie noted that although humans have many universities they can attend, cows have none. To remedy this problem, she and her fellow cows formed a new university called The University of Wisconsin-Farmside,“Moo U” for short. Not wishing to admi原创 2020-05-26 18:47:16 · 186 阅读 · 0 评论 -
POJ 3614 Sunscreen——贪心与优先队列的完美结合
Description To avoid unsightly burns while tanning, each of the C (1 ≤ C ≤ 2500) cows must cover her hide with sunscreen when they’re at the beach. Cow i has a minimum and maximum SPF rating (1 ≤ minSPFi ≤ 1,000; minSPFi ≤ maxSPFi ≤ 1,000) that will work.原创 2020-05-25 11:22:16 · 206 阅读 · 0 评论 -
POJ Stall Reservations——贪心区间+优先队列
利用优先队列来完成贪心算法,极大的减小了时间复杂度和代码实现难度原创 2020-05-01 09:59:59 · 131 阅读 · 0 评论