码迷,mamicode.com
首页 >  
搜索关键字:dungeon    ( 222个结果
LeetCode Dungeon Game
Problem:The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid ...
分类:其他好文   时间:2015-01-28 17:48:20    阅读次数:228
[kuangbin带你飞]专题一 简单搜索 - B - Dungeon Master
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 struct node 9 {10 int x;11 int y;12 int z;13 ...
分类:其他好文   时间:2015-01-27 20:01:40    阅读次数:164
Leetcode#174 Dungeon Game
原题地址典型的地图寻路问题如何计算当前位置最少需要多少体力呢?无非就是在向下走或向右走两个方案里做出选择罢了。如果向下走,看看当前位置能提供多少体力(如果是恶魔就是负数,如果是草药就是正数),如果当前位置能够提供的体力比向下走所需要的最小体力还多,那么当前位置只需要1的体力就够了;否则,计算出额外需...
分类:其他好文   时间:2015-01-26 20:39:59    阅读次数:98
【leetcode】Dungeon Game (middle)
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a...
分类:其他好文   时间:2015-01-25 22:20:42    阅读次数:164
leetcode——Dungeon Game
题目:The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out i...
分类:其他好文   时间:2015-01-25 19:37:17    阅读次数:181
hdu 2251 Dungeon Master bfs
Dungeon MasterTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 17555Accepted: 6835DescriptionYou are trapped in a 3D dungeon and need to find ...
分类:其他好文   时间:2015-01-23 22:46:50    阅读次数:173
LeetCode - Dungeon Game
Dungeon Game2015.1.23 19:38The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists o...
分类:其他好文   时间:2015-01-23 21:25:26    阅读次数:169
poj_2251_Dungeon Master_bfs
Dungeon MasterTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionYou are trapped in a ...
分类:其他好文   时间:2015-01-22 21:29:25    阅读次数:153
POJ 2251 Dungeon Master(BFS)
Dungeon MasterTime Limit:1000MSMemory Limit:65536KTotal Submissions:17465Accepted:6792DescriptionYou are trapped in a 3D dungeon and need to find the ...
分类:其他好文   时间:2015-01-22 12:53:12    阅读次数:142
POJ2251Dungeon Master(三维图)(BFS)
Dungeon Master Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 17444   Accepted: 6790 Description You are trapped in a 3D dungeon and need to find the quic...
分类:其他好文   时间:2015-01-21 22:29:00    阅读次数:238
222条   上一页 1 ... 16 17 18 19 20 ... 23 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!