优先队列
文章平均质量分 80
menxiaoyuan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
拯救公主
时间限制: 1 Sec 内存限制: 128 MB[提交][状态][讨论版]题目描述公主被妖怪抓到了一个山洞里,为了尽快营救公主,王子决定不回城搬救兵去独自营救。山洞为矩形且十分空旷,其中生活着K个妖怪。幸运的是这些妖怪晚上都会睡觉并且没人守夜。但是若是离妖怪太近就会惊醒它,其他的妖怪也会被惊醒,所以我们要找一条距离所有妖怪都很远的路。我们把山洞分为了n*m个格子,走到相邻的格子(不含原创 2015-11-15 17:46:26 · 400 阅读 · 0 评论 -
Rescue
DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to save Angel. Their task is: approach Angel. We assu原创 2015-12-18 10:53:55 · 258 阅读 · 0 评论 -
Rescue
题目描述 Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to save Angel. Their task is: approach Angel. We assume that原创 2016-03-06 11:06:59 · 315 阅读 · 0 评论
分享