文件名称:problem1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:733byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
八皇后问题,是一个古老而著名的问题,是回溯算法的典型例题。该问题是十九世纪著名的数学家高斯1850年提出:在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。 高斯认为有76种方案。1854年在柏林的象棋杂志上不同的作者发表了40种不同的解,后来有人用图论的方法解出92种结果。计算机发明后,有多种方法可以解决此问题。
-Eight queens problem is an ancient and well-known problem, backtracking algorithm is a typical example. The problem is well-known nineteenth-century mathematician Gauss 1850: Under the 8X8 grid placed on the eight chess Queen, so that it can not attack each other, that any two Queens are not in the same line, same column or the same slash and asked how many kinds of pendulum method. Gaussian that 76 kinds of programs. 1854 in Berlin Chess magazine published by different authors on the 40 different solutions, and later was used graph theory methods to solve the 92 kinds of results. After the invention of the computer, there are several ways to solve this problem.
-Eight queens problem is an ancient and well-known problem, backtracking algorithm is a typical example. The problem is well-known nineteenth-century mathematician Gauss 1850: Under the 8X8 grid placed on the eight chess Queen, so that it can not attack each other, that any two Queens are not in the same line, same column or the same slash and asked how many kinds of pendulum method. Gaussian that 76 kinds of programs. 1854 in Berlin Chess magazine published by different authors on the 40 different solutions, and later was used graph theory methods to solve the 92 kinds of results. After the invention of the computer, there are several ways to solve this problem.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
problem1.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.