網易2017遊戲研發面試題 —— 推箱子(廣搜BFS判斷)

#include<iostream> #include <queue> #include <map> using namespace std; typedef pair<int, int> point; typedef pair<point, point>state; const int dirX[4] = { 0,0,1,-1 }; const int dirY[4] = { 1,-1,0,0
相關文章
相關標籤/搜索