백준 16954 c++ "움직이는 미로 탈출" -[PlusUltraCode]
#include #include #include #include #include using namespace std; int dx[8] = { 1,1,0,-1,-1,-1,0,1 }; int dy[8] = { 0,1,1,1,0,-1,-1, - 1 }; typedef pair Node; int N = 8; int Wall = 0; vector Arr; vector GameVec; void Print() { for (int i = 0; i = 0 && garo < N)return true; return false; } void BFS() { queue myQueue; myQueue...
2024. 3. 20.