随笔分类 -  数据结构_队列

摘要:poj 3431 Expedition 优先队列 题目链接: [http://poj.org/problem?id=2431][aca893d4] 思路: 优先队列。对于一段能够达到的距离,优先选择其中能够加油最多的站点,这样,行驶过这段距离之后还能走更远的距离。 将输入的数据进行排序处理,按照位置 阅读全文
posted @ 2017-11-29 22:21 lemonsbiscuit 阅读(243) 评论(0) 推荐(0)