摘要:
//八数码问题 typedef int State[9]; const int maxstate = 1000000; State st[maxstate], goal//所有转换的状态和终点状态 int dist[maxstate]; const int dx[] = {-1, 1, 0, 0}; const int dy[] = {0, 0, -1, 1}; int bfs() { ... 阅读全文
posted @ 2017-05-16 20:58
innkp
阅读(136)
评论(0)
推荐(0)

浙公网安备 33010602011771号