文件名称:N-queen
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- l***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
求解n皇后问题。给定一个N×N的棋盘,在棋盘上放置N个皇后,使得N个皇后两两之间互不攻击。任何两个处于同一列,同一行,同一对角线上的皇后都会互相攻击。
-Solve the n queens problem. To set a NN board, place N queens on a chessboard, making the N-queens do not attack each other between every two. Any two in the same column, same row, the Queen will attack each other on the same diagonal.
-Solve the n queens problem. To set a NN board, place N queens on a chessboard, making the N-queens do not attack each other between every two. Any two in the same column, same row, the Queen will attack each other on the same diagonal.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
N-queen\n-queen.cpp
.......\readme.txt
N-queen
.......\readme.txt
N-queen