码迷,mamicode.com
首页 >  
搜索关键字:三维bfs    ( 50个结果
UVA 532- Dungeon Master(三维bfs)
Dungeon Master Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Description You are trapped in a 3D dungeon and need to find the quickest way ou...
分类:其他好文   时间:2015-02-15 09:29:22    阅读次数:227
POJ 2049-Finding Nemo(三维bfs解决类迷宫问题)
Finding Nemo Time Limit: 2000MS   Memory Limit: 30000K Total Submissions: 7902   Accepted: 1827 Description Nemo is a naughty boy. One day he went into the deep sea all...
分类:其他好文   时间:2015-01-08 15:25:22    阅读次数:164
POJ:Dungeon Master(三维bfs模板题)
Dungeon MasterTime Limit:1000MSMemory Limit:65536KTotal Submissions:16748Accepted:6522DescriptionYou are trapped in a 3D dungeon and need to find the ...
分类:其他好文   时间:2014-09-15 21:10:59    阅读次数:210
HDU 1253 胜利大逃亡(三维BFS)
胜利大逃亡 Time Limit:2000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Description Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.  魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始I...
分类:其他好文   时间:2014-09-01 17:50:23    阅读次数:214
HDU 2225 Asteroids!(三维BFS)
Asteroids! Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Description You're in space.  You want to get home.  There are asteroids.  You don't want to hit t...
分类:其他好文   时间:2014-08-26 15:37:16    阅读次数:292
HDU1240-题目意思详解( 三维BFS)
HDU1240详解...
分类:其他好文   时间:2014-08-15 17:57:49    阅读次数:174
HDU1253
一个简单的三维BFS: 刚开始说内存超出了,就把 标记走过的路语句 和 判断到达终点的语句 放在了push(next)之前 #include #include #include #include #define N 51 using namespace std; struct node{ int x,y,z; int t; }; int dir[8]...
分类:其他好文   时间:2014-08-15 14:45:28    阅读次数:292
SDUT 1124-飞跃原野--三维BFS
飞跃原野 Time Limit: 5000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 勇敢的法里奥出色的完成了任务之后,正在迅速地向自己的基地撤退。但由于后面有着一大群追兵,所以法里奥要尽快地返回基地,否则就会被敌人逮住。 终于,法里奥来到了最后的一站:泰拉希尔原野,穿过这里就可以回到基地了。然而,敌人依然紧...
分类:其他好文   时间:2014-08-14 01:32:37    阅读次数:315
HDU 1253-胜利大逃亡--裸三维BFS
三维BFS...
分类:其他好文   时间:2014-08-13 14:56:16    阅读次数:178
HDU 1240——Asteroids!(三维BFS)POJ 2225——Asteroids
普通的三维广搜,需要注意的是输入:列,行,层 #include #include #include #include #include #define M 11 using namespace std; int dir[6][3]={{0,1,0},{0,-1,0},{1,0,0},{-1,0,0},{0,0,1},{0,0,-1}};//6个方向 int vis[M][M][M]; char...
分类:其他好文   时间:2014-07-30 17:36:24    阅读次数:266
50条   上一页 1 2 3 4 5 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!