
搜索
文章平均质量分 61
chao_acmer
这个作者很懒,什么都没留下…
展开
-
深搜
Problem DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adja原创 2015-08-18 17:45:43 · 289 阅读 · 0 评论 -
广搜
Problem DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adja原创 2015-08-18 17:17:18 · 392 阅读 · 0 评论 -
广搜之寻找最短路径
题意:给定一个二维数组,从@出发,寻找到达E的最短路径,#表示墙壁,不能通行如:@----# ---#-# -----E#include #include using namespace std;const int maxn=30;char map[maxn][maxn];int vis[maxn][maxn]; //判重原创 2015-08-19 14:27:00 · 472 阅读 · 0 评论