BFS 常見的題目. #include<bits/stdc++.h> using namespace std; const int dr[4]{1,0,-1,0},dc[4]{0,-1,0,1}; struct step{ int r,c,ct; } ...
確定! 回上一頁