邊界處理+bfs

題目: https://www.luogu.org/problemnew/show/P1126 題解: #include<bits/stdc++.h> using namespace std; #define map mapp bool map[51][51]; //存地圖 ,檢查是否越界 int vis[51][51]; //存訪問過的最優解 struct yyy{int x,y,dir,
相關文章
相關標籤/搜索