发表评论取消回复
相关阅读
相关 Poj 1724 ROADS (搜索 最短路 BFS优先队列)
题意:有n 城市,r条路,有k这么多的钱。每条路都有长度和花费两个参数,求从1到n最短且总花费不超过k的长度。 思路:优先队列。每次将长度最小的出队,然后判断花费,位超限就将
相关 poj3614 二分图最大匹配 or 贪心
Sunscreen <table> <tbody> <tr> <td><strong>Time Limit:</strong> 1000MS</td>
相关 D - Expedition POJ - 2431——桶排序+贪心+优先队列
Think: 1题意一个卡车需要到小镇修理,他有一个无限加油箱,耗油量为每单位行程1单位耗油量,路上会经过加油站,假设已小镇作为坐标原点,则给出加油站的一维线性位置和储油量
相关 POJ 3614 Sunscreen(优先队列)
> Sunscreen > Time Limit: 1000MS Memory Limit: 65536K > Total Submissions: 8404 Acce
相关 POJ 3481 Double Queue(STL之双向优先队列)
The new founded Balkan Investment Group Bank (BIG-Bank) opened a new office in Bucharest
相关 POJ 3465 Battle(优先队列+贪心模拟)
You're Zhu Rengong, a formidable hero. After a number of challenging missions, you are f
相关 POJ 2442 Sequence(stl+优先队列||堆)
Given m sequences, each contains n non-negative integer. Now we may select one number fr
相关 Stripies POJ - 1862 (贪心+优先队列,注意输出)
Our chemical biologists have invented a new very useful form of life called stripies (in
相关 Expedition POJ - 2431 (贪心+优先队列)
A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Bein
相关 POJ 2431 - Expedition (贪心 优先队列)
Description A group of cows grabbed a truck and ventured on an expedition deep into the
还没有评论,来说两句吧...