摘要: P1605 迷宫 BFS模板题,到每个点判断一下是否有障碍物即可 #include<bits/stdc++.h> using namespace std; int n , m , t; struct node{ int x , y ; } a , b; int dx[] = {1 , -1 , 0 阅读全文
posted @ 2022-11-21 10:26 wmjlzw1314 阅读(31) 评论(0) 推荐(0)