文件名称:N-Queen
-
所属分类:
- 标签属性:
- 上传时间:2012-10-18
-
文件大小:1.98kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
: N皇后问题,在一个N×N国际象棋盘
上,有N个皇后,每个皇后占一格;要求皇后间不会出现
相互“攻击”的现象,即不能有两个皇后处在同一行、同一
列或同一对角线上。问共有多少种不同的方法。下图以4
个皇后为例,说明一个正确的解( N是一个大于等于2并
且小于等于100的整数)-: N queens problem, a NN chess disk, N-Queen, Queen of the grid requirements between each other " attack" phenomenon does not appear in the Queen' s, that can not have two queens in the same row , the same column or on the diagonal. Asked a total of a number of different ways. The following diagram 4 Queen, for example, indicating that a correct solution (N is a number greater than or equal to 2 and less than or equal to an integer of 100)
上,有N个皇后,每个皇后占一格;要求皇后间不会出现
相互“攻击”的现象,即不能有两个皇后处在同一行、同一
列或同一对角线上。问共有多少种不同的方法。下图以4
个皇后为例,说明一个正确的解( N是一个大于等于2并
且小于等于100的整数)-: N queens problem, a NN chess disk, N-Queen, Queen of the grid requirements between each other " attack" phenomenon does not appear in the Queen' s, that can not have two queens in the same row , the same column or on the diagonal. Asked a total of a number of different ways. The following diagram 4 Queen, for example, indicating that a correct solution (N is a number greater than or equal to 2 and less than or equal to an integer of 100)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
N-Queen.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.