dfs迷宫

https://www.luogu.com.cn/problem/P1605#submit

dfs ,初始位置的v要标记

bfs在用d[ ]判断能不能到达时是要把起点拿出来单独

搜索https://www.luogu.com.cn/training/85494#problems

posted @ 2021-07-16 11:22  废柴废柴少女  阅读(87)  评论(0)    收藏  举报