搜索资源列表
8queenc
- 1) 【八皇后问题】设在初始状态下在国际象棋棋盘上没有任何棋子(皇后)。然后顺序在第1行,第2行,…。第8行上布放棋子。在每一行中有8个可选择位置,但在任一时刻,棋盘的合法布局都必须满足3个限制条件,即任何两个棋子不得放在棋盘上的同一行、或者同一列、或者同一斜线上。试编写一个递归算法,求解并输出此问题的所有合法布局。-1) [8 Queen's problems -- in the initial state in the international chess pieces on no
huanghou2
- 八皇后问题的一个小程序,可以实现选择皇后数量,有友好的界面。 -8 Queen of a small program, can achieve a number of Queen's choice, a friendly interface.
Nhuanghou
- 皇后问题的求解,你可以求3个或4个或5个,六个-Queen problem solving, you can help three or four or five, six, etc.
baquene
- 这是一个八皇后问题的程序-This is a question of the Queen's eight procedures
8Queens
- 八皇后经典问题 输出任一种解-eight Queen's classic output as a Solution
zyqueen
- 一个简单的递归实现八皇后算法-a simple recursive algorithm to achieve eight Queen's
8皇后问题
- 解决8皇后问题的小程序-solve the problem of the small Queen's procedures
BAHUANGH
- 八皇后是用回溯算法实现的-eight Queen's algorithm is used to achieve the back
8皇后
- 能够实现8皇后问题,其算法比较好-to achieve eight Queen's, the algorithm is better
nQueen
- n皇后算法的实现-n Queen's algorithm implementation
Queen8
- 八皇后问题的一种高效递归解法-8 Queen of an efficient recursive method
Queen_PF
- 经典的八皇后问题,结合MFC界面编程,能够清晰看到皇后的排列位置。-eight Queen's classic, combining MFC programming interface, can see clearly what the position with the Queen.
bahuanghouwtdejavashixian
- n皇后问题算法。 * 把棋盘看成一个坐标系,以左下角为原点(0,0)。坐标系的每个点为一个Point类。 * 每个皇后为一个皇后对象Queen。 * 判断一个点的坐标是否在,一个皇后控制的范围的函数为Queen.isUnderControl(point)。 -n Queen's Algorithm. * Chessboard as a coordinate system to lower left-hand corner of the origin (0,0). T
bahuanghou44444
- 八皇后问题的拓展,n皇后问题的深度优先算法,可以把结果以文件形式输出。N<=20-eight of the Queen's expansion, n depth of the Queen's priority algorithm, the results can be output in the form of a document. N
bahouwenti
- 八后问题,也就是如何在棋盘上放置8个互不向吃的皇后-after eight issues, and that was how on the chessboard placed eight in each other not to eat the Queen
four_queens
- 自己写的四皇后问题的算法,其中的注释非常的详细,请多指教-himself wrote four of the Queen's algorithm, which is very detailed notes, please enlighten
2003011273project5
- Java小程序两个: 1.输入五个同学的成绩,并将这五个数保存到文件“data.txt”中。然后再编写一个程序:从“data.txt”中读取这五个成绩,计算他们的平均数,然后从小到大排序并输出这五个人的成绩。 2.将八皇后问题的所有界保存到文件“Queen.txt”中。-Java applet 2 : 1. Importation of five students achievements, This number will be five to preserve documents &
cn700_vc62445261344
- 这几天学VC界面编程,在VC在线上狂看教程,觉得有所长进,于是把以前的Java代码用VC改写了一下。问题还是那个老掉牙的问题,八皇后问题,老归老,但我很喜欢-VC these days learn programming interface, the VC frenzy see online tutorial, some feel that complacency. So, before the Java code with VC rewritten a bit. Problems or tho
QueenLV
- 这个代码是利用拉斯维加斯算法解决n皇后得问题-this code is the use of the Las Vegas algorithm to solve the problem in the Queen's n
huanghuowenti
- 这是一个N皇后问题,采用递归的方法,希望对大家有帮助 -N Queen's, using recursive method, we hope to help