题解列表

筛选

误落迷宫2-题解(C++代码)

摘要: 普通的搜索题,两个BFS()即可,第一个从S搜到T,第二个从T搜到E,两个距离相加即为最短距离。 ``` #include using namespace std; typed……