-
8queen
在一个8×8国际象棋盘上,有8个皇后,每个皇后占一格;要求皇后间不会出现相互"攻击"的现象,即不能有两个皇后处在同一行、同一列或同一对角线上。问共有多少种不同的方法。
本算法采用一维数组来进行处理。数组的下标i表示棋盘上的第i列,a[i]的值表示皇后在第i列所放的位置。如:a[1]=5,表示在棋盘的第一例的第五行放一个皇后。(8 × 8 in a chess set, there s eight, each accounting for a Queen s grid request will not be any mutual between Queen s attack phenomenon, that can not have two Queen s in the same line, the same row or the same diagonal. Asked the total number of different ways. This algorithm uses one-dimensional array to be processed. Array subscript i said i chessboard first out, a [i] value that s in the first place i listed by location. Such as: a [1] = 5, said the first cases in the chessboard of the fifth line of a Queen s release.)
- 2007-12-15 22:24:44下载
- 积分:1
-
cnjwy
徐士良《C常用算法程序集》第2版 第2部分()
- 2018-01-07 16:27:01下载
- 积分:1
-
Data-Structure11-15
本书是关于计算机科学与工程领域的基础性研究科目之一——数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树、图等基本数据结构,以及贪婪算法、分而治之算法、分枝定界算法等多种算法设计方法,为数据结构与算法的继续学习和研究奠定了一个坚实的基础。更为可贵的是,本书不仅仅介绍了理论知识,还提供了50多个应用实例及600多道练习题。 本书内容广博权威,结构清晰合理,是一本全新的有关数据结构与算法的教材,对于计算机科学与工程领域的从业人员也是一本很好的参考书。 11-15章
(This book is about the field of computer science and engineering subjects of basic research- data structures and algorithms monographs. In a brief review of the book based on the basic concept of C++ programming on a comprehensive and systematic introduction to the queues, stacks, trees, graphs and other basic data structures, and the greedy algorithm, a variety of algorithms divide and conquer algorithms, branch and bound algorithm design method for data structures and algorithms continue to learn and study laid a solid foundation. More valuable is the book not only theoretical knowledge, but also provides more than 50 application examples and more than 600 channel exercises. Book a broad authority, clear and reasonable structure, is a new data structures and algorithms related materials, for the field of computer science and engineering practitioners also a good reference book. Chapter 11-15)
- 2014-05-30 09:27:46下载
- 积分:1
-
jingsai
基于STM32的火灾报警系统,可以测试瓦斯等可燃气体浓度并短信通知。
(Fire alarm system based STM32)
- 2020-12-08 15:29:21下载
- 积分:1
-
ASP.NET
C#课程源码,配套孙士保(电子工业出版社2012),很详细,很实用(C# program source code, supporting SUN Shi-bao (Electronic Industry Publishing House 2012), very detailed, very practical)
- 2013-12-16 10:04:51下载
- 积分:1
-
光伏并网 原理图+pcb+程序+文档说明 经过实测 可行
光伏并网 原理图+pcb+程序+文档说明 经过实测 可行
- 2022-08-24 08:37:01下载
- 积分:1
-
购物车代码
这是一个C#编写的购物车代码。是利用Dreamweaver做的。
- 2022-03-01 13:11:27下载
- 积分:1
-
tushuguanlixitong
基于c#编写的一款图书管理系统的程序内涵源代码(c# tushuguanlixitong)
- 2014-05-01 13:34:14下载
- 积分:1
-
x64注入源码
这是一份能把64位的DLL远程线程注入到x64进程的源码(x64 injection DLL source code)
- 2020-07-01 10:00:01下载
- 积分:1
-
LCD1602
使用STM32F103C8T6驱动LCD1602(Using STM32F103C8T6 to Drive LCD1602)
- 2020-06-21 11:00:02下载
- 积分:1