搜索算法与图论(Week 4 , 5) 2022-11-21 20:37 | 472 | 0 | 周作业。,搜索算法 207 字 | 7 分钟 搜索和动态规划是算法界的两座大山。 搜索本质上是一种遍历,是对每一种情况操作一遍。 T1 迷宫(dfs) 是好题,一道用dfs的好题。 #include <iostream> #include <cstring> using namespace std; int n,m,t; int movex[5]={0,1,0,-1,0};…