![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码
文章平均质量分 74
DownloadFang
TonyFang _computer programmer
展开
-
出了问题的代码 八数码问题
P.S 风水不好!!! //八数码问题 #include #include #include #include #include #include using namespace std;/*变量声明部分*/ int map[1000][3][3];int dx[4]={0,-1,0,1};int dy[4]={-1,0,1,0};int t原创 2012-07-30 17:16:40 · 374 阅读 · 1 评论 -
【深度优先搜索】最小皇后问题
简介 Description 在8*8的棋盘里放置最少的皇后,使皇后间不能互相攻击,并且可以占领整个棋盘。输入 Input No Input !输出 Output (Queen.txt) 1 2 3 4 5 6 7 81 * - - - - - - - 2 - - * - - - - -3 - - - - * - - -4 - * -原创 2012-07-31 17:23:27 · 805 阅读 · 0 评论