文件名称:NQueens
介绍说明--下载内容均来自于网络,请自行研究使用
由n2个方块排成n行n列的正方形称为“n元棋盘”。如果两个皇后位于n元棋盘上的同一行或同一列或同一对角线上,则称它们为互相攻击。要求输出使n无棋盘上的n个皇后互不攻击的所有布局。
-By n2 a square lined up in n do n column square called "n yuan chessboard". If two queen on board in n yuan with a line or the same column or the same on the diagonal, then called them to fight each other. Requirements without the board that n output of n a queen all layout. Each attack
-By n2 a square lined up in n do n column square called "n yuan chessboard". If two queen on board in n yuan with a line or the same column or the same on the diagonal, then called them to fight each other. Requirements without the board that n output of n a queen all layout. Each attack
(系统自动生成,下载前可以参看下载内容)
下载文件列表
NQueens.java