-
C语言版本的八皇后问题
要求:在国际象棋的棋盘摆上8个皇后,使得任何两个皇后不在一行,不在一列,同时也不在同一条斜线上。要求找出所有解。
算法思想
利用回溯算法搜索解空间,解分量的值等于解空间的索引(行编号),求出一个解递归调用即可求出所有92种情况。
设计心得:
1、 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-08-13 19:21:25下载
- 积分:1
-
一个采用VC+ACCESS开发的酒店管理,以及论文
一个采用VC+ACCESS开发的酒店管理,以及论文-using a development of the VC ACCESS hotel management, and the papers
- 2022-01-25 23:18:00下载
- 积分:1
-
Prepared using the VC Joseph Central program, simple and clear, easy to use
使用VC编写的约瑟夫环程序,简单明了,方便使用-Prepared using the VC Joseph Central program, simple and clear, easy to use
- 2022-02-01 05:23:24下载
- 积分:1
-
程序比较了排序算法的优点(包括快速比较法,…
本程序比较各种排序算法的优劣(包括快速比较,基数比较等等),希望大家指教.-the procedures compare the merits Sorting Algorithm (including rapid comparison, the comparison base, etc.), we hope the exhibitions.
- 2022-02-06 22:53:34下载
- 积分:1
-
数据结构实验大纲
河南大学软件学院数据结构实验大纲 实验1至实验8
- 2023-04-20 04:35:03下载
- 积分:1
-
sqlite 3.3.8 supports encrypted version
sqlite 3.3.8 支持加密的版本-sqlite 3.3.8 supports encrypted version
- 2022-02-06 02:30:15下载
- 积分:1
-
将xml格式的文件导入到 数据库中,将xml格式的文件导入到 数据库中...
将xml格式的文件导入到 数据库中,将xml格式的文件导入到 数据库中-Xml file will be imported into the database, the xml file into database
- 2022-01-21 21:44:29下载
- 积分:1
-
设计一个项目,排出AOE网络,并将数据输入计算机,用程序进行分析。...
设计一个项目,排出AOE网络,并将数据输入计算机,用程序进行分析。-Design a project, from AOE network, and data entered into the computer, using the procedure for analysis.
- 2022-05-07 23:26:23下载
- 积分:1
-
an expulsion management system, the very good!
一个学籍管理系统,挺好用的!-an expulsion management system, the very good!
- 2022-08-22 17:37:08下载
- 积分:1
-
公交换车
使用数据解构编写的公交换乘系统!可以按路线查询!使用数据解构编写的公交换乘系统!可以按路线查询!
- 2023-08-01 18:35:03下载
- 积分:1