Description 定义一个二维数组: int maze[5][5] = {0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0,}; 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能横着走或竖 ...
分类:
其他好文 时间:
2018-11-17 17:47:46
阅读次数:
169
Random Maze Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1669 Accepted Submission(s): 682 Pro ...
分类:
其他好文 时间:
2018-11-12 17:39:12
阅读次数:
140
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll... ...
分类:
其他好文 时间:
2018-11-06 11:22:21
阅读次数:
158
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up (u), down (d), left (l) or right (r), but it... ...
分类:
其他好文 时间:
2018-11-06 11:16:10
阅读次数:
179
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll... ...
分类:
其他好文 时间:
2018-11-06 11:09:54
阅读次数:
212
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 35426 Accepted: 20088 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, ...
分类:
其他好文 时间:
2018-10-31 16:56:52
阅读次数:
148
Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this board is con ...
分类:
其他好文 时间:
2018-10-30 22:49:14
阅读次数:
222
传送门:http://acm.hdu.edu.cn/showproblem.php?pid=4035 Problem Description When wake up, lxhgww find himself in a huge maze.The maze consisted by N rooms ...
分类:
其他好文 时间:
2018-10-14 23:08:21
阅读次数:
159
题意 给一个$2 n$的迷宫,有障碍物,$m$次询问,每次查询两点间最短路 题解 把上下当成一个点,每个点有上下两个接口 用线段树维护即可 ...
分类:
其他好文 时间:
2018-10-05 19:24:52
阅读次数:
151
迷宫问题(基本BFS+保存路径) 题目链接: "POJ 3984" Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, ...
分类:
其他好文 时间:
2018-09-22 21:29:18
阅读次数:
167