码迷,mamicode.com
首页 >  
搜索关键字:rescue    ( 353个结果
HDU 1242 Rescue
题意:迷宫搜索,一个起点可能有多个终点,遇到门卫要额外花费一个单位时间;思路:bfs;结构体表示队列:#include#include#includeusing namespace std;int n,m,s1,s2,e1,e2;char mm[505][505];int vis[505][505]...
分类:其他好文   时间:2015-05-01 14:38:07    阅读次数:85
sdutoj Rescue The Princess
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2603Rescue The PrincessTime Limit: 1000ms Memory limit: 65536K有疑问?点这里^_^题目描述 Se...
分类:其他好文   时间:2015-04-28 22:38:40    阅读次数:181
马哥笔记第十六天故障排除、trap、sed、awk、bash数组、bash字符串操作
A、故障排除:紧急救援模式:rescue,相当于一个小型的linux系统和让你切换到硬盘系统中。1、grub损坏:谨慎操作ddif=/dev/zeroof=/dev/sdacount=1bs=400不能大于446,否则破坏分区表中数据。这时需要进入救援模式,选择Rescueinstalledsystem,选择语言、键盘设置、是否启用网..
分类:编程语言   时间:2015-04-24 01:14:55    阅读次数:210
ZOJ3545---Rescue the Rabbit(AC自动机+dp)
Dr. X is a biologist, who likes rabbits very much and can do everything for them. 2012 is coming, and Dr. X wants to take some rabbits to Noah’s Ark, or there are no rabbits any more.A rabbit’s genes c...
分类:其他好文   时间:2015-04-20 18:37:55    阅读次数:199
Rescue--hdu1242
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1242运用优先队列进行广搜 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define inf 0x6ffffff 7 #de...
分类:其他好文   时间:2015-04-15 18:43:15    阅读次数:128
转载 error:unknown filesystem grub rescue>
我是ubuntu11.04和2win7双系统,在win7下使用Acronis Disk Director Suit对非系统盘进行分割,完成后重启出现:error:unknown filesystem grub rescue>解决办法:http://wenku.baidu.com/view/c71a1...
分类:其他好文   时间:2015-04-08 12:35:25    阅读次数:113
hdu 1242 Rescue
题目链接:hdu 1242 这题也是迷宫类搜索,题意说的是 'a' 表示被拯救的人,'r' 表示搜救者(注意可能有多个),'.' 表示道路(耗费一单位时间通过),'#' 表示墙壁,'x' 代表警卫(耗费两个单位时间通过),然后求出 'r' 能找到 'a' 的最短时间,找不到输出 "…………"(...
分类:其他好文   时间:2015-04-08 12:26:01    阅读次数:150
数学 A Rescue The Princess
题目传送门 1 /* 2 已知一向量为(x , y) 则将它旋转θ后的坐标为(x*cosθ- y * sinθ , y*cosθ + x * sinθ) 3 应用到本题,x变为(xb - xa), y变为(yb - ya)相对A点的位置,即B绕着A点旋转60度至C点 4 注意...
分类:其他好文   时间:2015-04-07 15:20:33    阅读次数:180
山东省第四届acm.Rescue The Princess(数学推导)
Rescue The PrincessTime Limit: 1 SecMemory Limit: 128 MB Submit: 412Solved: 168 [Submit][Status][Web Board]DescriptionSeveral days ago, a beast caught...
分类:其他好文   时间:2015-04-06 21:27:29    阅读次数:149
山东省第四届ACM程序设计竞赛A题:Rescue The Princess(数学+计算几何)
Rescue The PrincessTime Limit: 1 SecMemory Limit: 128 MBSubmit: 412Solved: 168[Submit][Status][Web Board]Description Several days ago, a beast caught ...
分类:其他好文   时间:2015-04-06 20:08:08    阅读次数:189
353条   上一页 1 ... 24 25 26 27 28 ... 36 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!