文件名称:CQueen
介绍说明--下载内容均来自于网络,请自行研究使用
//八皇后问题:在国际象棋中,能否在空格棋盘上摆放八个皇后,并使其中任意两个皇后不能在同一行或同一列或同一对角线上,编写完整的摆放八皇后问题的程序。要求:第一个皇后的起始位置由键盘输入,国际象棋的棋盘为8*8的方格。-//Eight queens problem: In chess, can be placed in the space of eight on board the Queen, the Queen can not make any two of them in the same row or column or the same diagonal, the preparation of a complete display eight queens problem program. Requirements: the first starting position of the Queen by the keyboard input, the international chess board is 8* 8 grid.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CQueen.cpp