八數碼

#include<cstdio> #include<cstring> #include<set> using namespace std; typedef int State[9]; const int MAXSTATE = 1000000; State st[MAXSTATE], goal; int dist[MAXSTATE]; set<int> vis; void init_lookup_t
相關文章
相關標籤/搜索