文件名称:eight-queen-problem
-
所属分类:
- 标签属性:
- 上传时间:2015-07-27
-
文件大小:648byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
题目描述
8X8的国际象棋棋盘上被挖了一些洞,这些洞不能放棋子,求八皇后问题的摆放方案,输出一种方案即可
输入格式
棋盘用.表示正常格子,用#表示被挖掉的洞,一共8行8列
输出格式
输出从上到下的每一行的皇后所在列号(1-8)-Topic describes
8 by 8 chess board was dug holes, these holes can t put chess pieces, put eight queens problem, output a solution
Input format
Board. Said normal lattice, expressed with# ground was hole, a total of eight rows 8 columns
The output format
Output the top to the bottom of each line of queen s column number (1-8)
8X8的国际象棋棋盘上被挖了一些洞,这些洞不能放棋子,求八皇后问题的摆放方案,输出一种方案即可
输入格式
棋盘用.表示正常格子,用#表示被挖掉的洞,一共8行8列
输出格式
输出从上到下的每一行的皇后所在列号(1-8)-Topic describes
8 by 8 chess board was dug holes, these holes can t put chess pieces, put eight queens problem, output a solution
Input format
Board. Said normal lattice, expressed with# ground was hole, a total of eight rows 8 columns
The output format
Output the top to the bottom of each line of queen s column number (1-8)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
eight queen problem.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.