文件名称:bahuanghou
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 205kb
- 下载次数:
- 0次
- 提 供 者:
- l***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
八皇后问题:我们都知道,在国际象棋里,皇后这子实在忒强了,能横走竖走,还能斜走,
现在我们手头有一个国际象棋棋盘(和二维数组很像啊),还有八个皇后(也许我们可以用‘Q’来表示)
现在我们把八个皇后放在棋盘上,条件是:八个皇后不能互吃,也就是说,不能有两个皇后在
同一行或同一列或同一斜线上!
-8 Queen s problem: We all know that in chess, the Queen is the sub-themis strong, and can go vertical cross walk, but also inclined walk, and now we do have a chess board (and two-dimensional array like ah), There are eight Queen (Maybe we can use Q to show that) now we have eight Queen on the chessboard, on the condition that: Eight Queen s can not eat each other, that is, can not have two Queen s in the same row or the same on the same row or slash!
现在我们手头有一个国际象棋棋盘(和二维数组很像啊),还有八个皇后(也许我们可以用‘Q’来表示)
现在我们把八个皇后放在棋盘上,条件是:八个皇后不能互吃,也就是说,不能有两个皇后在
同一行或同一列或同一斜线上!
-8 Queen s problem: We all know that in chess, the Queen is the sub-themis strong, and can go vertical cross walk, but also inclined walk, and now we do have a chess board (and two-dimensional array like ah), There are eight Queen (Maybe we can use Q to show that) now we have eight Queen on the chessboard, on the condition that: Eight Queen s can not eat each other, that is, can not have two Queen s in the same row or the same on the same row or slash!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
八皇后问题 能用
................\Debug
................\八皇后问题.cpp
................\八皇后问题.dsp
................\八皇后问题.dsw
................\八皇后问题.exe
................\八皇后问题.ncb
................\八皇后问题.opt
................\八皇后问题.plg
................\Debug
................\八皇后问题.cpp
................\八皇后问题.dsp
................\八皇后问题.dsw
................\八皇后问题.exe
................\八皇后问题.ncb
................\八皇后问题.opt
................\八皇后问题.plg