![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
文章平均质量分 61
chao_acmer
这个作者很懒,什么都没留下…
展开
-
深搜
Problem Description There 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 · 248 阅读 · 0 评论 -
广搜
Problem Description There 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 · 358 阅读 · 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 · 435 阅读 · 0 评论