HDU 1242 Rescue营救 BFS算法...
分类:
其他好文 时间:
2014-09-04 11:51:44
阅读次数:
116
Rescue
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Description
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described a...
分类:
其他好文 时间:
2014-08-29 18:25:48
阅读次数:
199
给出某些交叉点的距离,-1 表示无法到达。然后给出火灾发生点 和 附近的消防局位置。排列消防局 的 时间 与路径。反向建图,以火灾出发点为起点做一次SPFA。#include#include#include#include#include#include#include#include#includ...
分类:
其他好文 时间:
2014-08-24 16:41:52
阅读次数:
190
FDNY to the Rescue!
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 2475
Accepted: 755
Description
The Fire Department of New York (FDNY) has always been...
分类:
其他好文 时间:
2014-08-18 18:35:45
阅读次数:
351
Rescue
Time Limit: 2 Seconds Memory Limit: 65536 KB
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 sa...
分类:
其他好文 时间:
2014-08-15 17:58:19
阅读次数:
221
简单变形的广搜,而HDU 1026Ignatius and the Princess I 是这道题的升级版,因为每个格子停留的时间可能不相同。这里,天使的朋友可能有多个,所以我们从天使开始逆向去找他的朋友,最先找到他的朋友就是最短时间。题目的变形在于多了守卫,每当一个守卫进入队列,第一次只扩展当前位...
分类:
其他好文 时间:
2014-08-15 12:34:48
阅读次数:
200
Rescue
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 16314 Accepted Submission(s): 5926
Problem Description
Angel was caught b...
分类:
其他好文 时间:
2014-08-12 22:07:24
阅读次数:
317
ZOJ 1649 && HDU 1242 Rescue 大半夜写博客也是蛮拼的。。...
分类:
其他好文 时间:
2014-08-12 10:28:23
阅读次数:
182
本来想整个LFS试试,结果在最后关头设置LFS系统启动的时候挂了。其余的安装笔记没写多少,先来写写系统怎么挂的。在LFS之前就在想,万一把我宿主机挂了咋办,没想到真挂了。但我进行到LFS系统grub安装时,那LFS说明上说的也不明白,我做的也稀里糊涂。似乎把宿主机系统GRUB损坏..
分类:
其他好文 时间:
2014-08-08 18:33:36
阅读次数:
330
1、设置ActiveRecord find方法没找到不报错,调用一个显示404页面的方法 class?ApplicationController?<?ActionController::Base
??rescue_from?ActiveRecord::RecordNotFound,?:with?=>?:record_not_f...
分类:
其他好文 时间:
2014-08-06 19:37:02
阅读次数:
262