题目连接http://poj.org/problem?id=1383LabyrinthDescriptionThe northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth ...
分类:
其他好文 时间:
2015-08-31 16:44:36
阅读次数:
193
LabyrinthTime Limit:2000MSMemory Limit:32768KTotal Submissions:4004Accepted:1504DescriptionThe northern part of the Pyramid contains a very large and ...
分类:
其他好文 时间:
2015-08-18 13:48:41
阅读次数:
94
小记:dfs暂停,不是决定性的思维:由于只有三个方向向上和向下和向右,然后,我对待每列从左至右。然后,当在下一列的上一列的处理再加工每个值去获得正确的值,保存各坐标的数组格你可以得到最大值。每处理完一列就得到了这一列每一个点所能得到的最大值了,每一列依据从上一列某点往右然后上下更新当前列的全部点,时...
分类:
其他好文 时间:
2015-08-17 21:37:27
阅读次数:
140
问有多少个#的边在外面(需要放墙纸,,,最外面一层也需要)
在最外面补上一圈#,就可以直接bfs了
注意一组数据:
3
.##
###
##.
ans = 36;
#include
#include
#include
#include
using namespace std;
char a[36][36]={0};
int vis[36][3...
分类:
其他好文 时间:
2015-08-06 17:02:36
阅读次数:
138
E. Two LabyrinthsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100187/problem/EDescriptionA labyrinth is the rectangular grid, e...
分类:
其他好文 时间:
2015-07-18 22:36:35
阅读次数:
375
Nightmare时间限制:1000ms | 内存限制:65535KB难度:4描述Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth h...
分类:
Web程序 时间:
2015-07-09 00:18:10
阅读次数:
142
1152. False MirrorsTime limit: 2.0 secondMemory limit: 64 MBBackgroundWe wandered in the labyrinth for twenty minutes before finally entering the larg...
分类:
其他好文 时间:
2015-06-03 00:56:38
阅读次数:
184
http://acm.hdu.edu.cn/showproblem.php?pid=5222
Problem Description
Miceren likes exploration and he found a huge labyrinth underground!
This labyrinth has N caves
and some tunnels connec...
分类:
其他好文 时间:
2015-05-09 22:08:00
阅读次数:
211
Problem DescriptionMiceren likes exploration and he found a huge labyrinth underground!This labyrinth hasNcaves and some tunnels connecting some pairs...
分类:
其他好文 时间:
2015-05-09 20:22:53
阅读次数:
126
题目链接:HDU - 4826度度熊是一只喜欢探险的熊,一次偶然落进了一个m*n矩阵的迷宫,该迷宫只能从矩阵左上角第一个方格开始走,只有走到右上角的第一个格子才算走出迷宫,每一次只能走一格,且只能向上向下向右走以前没有走过的格子,每一个格子中都有一些金币(或正或负,有可能遇到强盗拦路抢劫,度度熊身上...
分类:
其他好文 时间:
2015-05-07 20:13:42
阅读次数:
113