搜索资源列表
VCPPdesign
- 10个源码合集,经典全集,针对江苏省各高校合编要求学生的课程设计!只对要交作业的大学生有用!本程序仅做课程设计作业,供大家学习和参考其中包括 1.迭代法截线性方程 2.高斯—赛德尔迭代法 3.股票交易系统 4.模板实现排行榜管理 5.物品库存管理 6.字符串操作 7.对抗游戏 8.八皇后问题 9.分数计算器 10.求解方程-10 source collection, classic Complete Works of students of the cou
8-queens-game
- 问题的提出:八皇后是个古老而有趣的游戏,是由高斯于1850年首先提出的。 要求在国际象棋的棋盘上放置八个皇后,使其不能相互攻击,即任意两个皇后不能处于 棋盘的同一行、同一列和同一条对角线上。试问有多少种放法? 基本思想是:先把皇后放在(0,0)位置,然后把1号皇后放在(1,j)位置, 使其满足要求。接着放2号皇后,依此类推。遇到某个皇后如把她无论放在该行的任意 位置均不满足要求,则前一个皇后放置不当,须重新放置前一皇后,如8个皇后均按要 求放置好,这就是一次成功的摆法。
eight-queens-puzzle
- 皇后问题(在8*8格的国际象棋盘上放置8个皇后,使得任意两个皇后不能互相攻击,即任何行,列或对角线上不得有两个或两个以上的皇后),打印输出皇后的位置,如在第一行第二个为01000000,以此类推逐行写出-The queen s problems (in 8* 8 s international chess on placed eight queen, make any two queen can t to fight each other, which means any line, colum
eight-queens--problem
- 八皇后问题,是一个古老而著名的问题,是回溯算法的典型例题。该源码实现八皇后问题。-8 queens problems, is an ancient and famous problem, is the typical examples of retrospective algorithm. This source realize 8 queens problems.
8queens
- c++解决八皇后问题,输出八皇后问题的解决方案数目-8 queens problem solved via C++ language
suanfa
- 八皇后问题,电子老鼠闯迷宫,快速排序,归并排序,堡垒问题,二分查找-8 queens problems, electronic mouse ran a maze, quick sort, merge sort, fort problem, binary search
EightQueenUI
- C#关于八皇后问题的一个图形实现,通过VS2010编写,采用回溯算法-8 QUEUES probrem with C#.
8Queen
- 三种算法解决八皇后问题, 有界面, 有结果和算法性能分析。 拉斯维加斯, 回溯, 拉斯维加斯+回溯混合-three algorithms to solve 8 queen problem. lasvegas, backtrace, lv+backtrace.
bahuanghouwenti
- 这是解决八皇后问题的程序。八皇后问题是一个古老而著名的问题,是回溯算法的典型例题。这问题是19世纪著名的数学家高斯1850年提出:在8X8的国际象棋上摆放8个皇后,使其不能相互攻击,即任意两个皇后不能处于同一行、同一列或同一斜线上,问有多少种摆放。高斯认为有76种方案。1854年在柏林的《象棋》杂志上不同的作者发表了40种不同的方案,后来有人用图论的方法解决了92种方案。-This is a program to solve the eight queens problem. Eight que
queen
- 用枚举法解八皇后问题, 在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。-Use enumeration method solution eight queen, in 8 x8 lattice chess put on eight queen, to make it can t attack each other, i.e., any two queen cannot in the same column with
huisulv
- 概率加回溯法求解八皇后问题,前k步使用概率法,后8-k步使用回溯法-Probability and backtracking to solve the eight queens problem, k steps before using the probability method, after the 8-k step backtracking
8-queen
- 八皇后的问题的C++简单算法 大学课程作业-Eight queens problem C++ simple algorithm college course work
EightQueens
- 八皇后问题(递归回溯),在8*8棋盘上,摆放8个皇后-Eight Queens
eight
- 八皇后问题,八皇后问题是一个以国际象棋为背景的问题:如何能够在 8×8 的国际象棋棋盘上放置八个皇后,使得任何一个皇后都无法直接吃掉其他的皇后?为了达到此目的,任两个皇后都不能处于同一条横行、纵行或斜线上。八皇后问题可以推广为更一般的n皇后摆放问题:这时棋盘的大小变为n×n,而皇后个数也变成n。当且仅当 n = 1 或 n ≥ 4 时问题有解。-Eight queens problem, eight queens problem is a chess background questions:
5_queens
- 八皇后问题 在一个国际象棋8 * 8的棋盘里摆放8个皇后,使每个皇后都能相互不冲突-Eight queens problem in an 8* 8 chess board are placed in eight queens, so that each queen can not conflict with each other
EightQueen
- 利用栈结构实现八皇后问题。 八皇后问题19世纪著名的数学家高斯于1850年提出的。他的问题是:在8*8的棋盘上放置8个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列、同一斜线上。请设计算法打印所有可能的摆放方法。 提示: 1、可以使用递归或非递归两种方法实现 2、实现一个关键算法:判断任意两个皇后是否在同一行、同一列和同一斜线上-Use of the stack structure to achieve the eight queens problem. Eig
source
- N皇后问题,8乘以8的棋盘,小算法小技巧-N queens problem, 8 multiplied by 8 chessboard, small algorithm tips
bahuanghou
- 利用栈结构实现八皇后问题。 八皇后问题19世纪著名的数学家高斯于1850年提出的。他的问题是:在8*8的棋盘上放置8个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列、同一斜线上。请设计算法打印所有可能的摆放方法。 提示: 1、可以使用递归或非递归两种方法实现 2、实现一个关键算法:判断任意两个皇后是否在同一行、同一列和同一斜线上-Use the stack structure to achieve the eight queens probl
eightqueen
- 经典问题 8皇后,使用深度优先搜索算法。-8 Queen classic problem, using a depth-first search algorithm.
bahuanghou
- 八皇后问题是:在8*8的国际象棋棋盘上,安放8个皇后,要求没有一个皇后能够“吃掉”任何一个其他的皇后,即没有两个或两个以上的皇后占据棋盘上的同一行、同一列或同一条对角线。-Eight queens problem is: 8* 8 chess board, placed eight at Queen' s, a Queen' s request was not able to " eat" any of the other Queen' s, that is,