优先队列
bfcx
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【HDU - 6301】Distinct Values(思维+优先队列)
Chiaki has an array ofnnpositive integers. You are told some facts about the array: for every two elementsaiaiandajajin the subarrayal..ral..r(l≤i<j≤rl≤i<j≤r),ai≠ajai≠ajholds. Chiaki ...原创 2019-05-08 19:55:41 · 282 阅读 · 0 评论 -
【HDU - 5884】Sort(二分+数组模拟优先队列)
Recently, Bob has just learnt a naive sorting algorithm: merge sort. Now, Bob receives a task from Alice. Alice will give BobNNsorted sequences, and theii-th sequence includesaiaielements. Bob n...原创 2019-07-06 20:39:28 · 332 阅读 · 0 评论
分享