-
离散01串问题,(n,k)01 串定义为:长度为n 的01 串,其中不含k 个连续的相同子串。对于给定的正整数n 和k,计算(n,k)01 串的个数。...
离散01串问题,(n,k)01 串定义为:长度为n 的01 串,其中不含k 个连续的相同子串。对于给定的正整数n 和k,计算(n,k)01 串的个数。-discrete series of 01 questions, and (n, k) 01 Series : the definition of the length of n strings of 01, which is non-consecutive k-the same string. For a given positive integer n and k, calculated (n, k) 01 series of numbers.
- 2023-03-26 18:45:03下载
- 积分:1
-
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算...
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分,并分析算法的计算复杂度。-in a circle around the playground are placed n gravel pile. Is a stone should order to be merged into a heap. Stipulated that only elected adjacent to the pile of gravel into the new heap, and a new pile of gravel credited for the combined scores. Design a test algorithm to calculate n heap into a pile of gravel to the minimum score and the biggest score and analysis of algorithm complexity.
- 2022-03-22 21:40:18下载
- 积分:1
-
求最短路径问题,传给大家看看,希望能对大家在实用中有点帮助...
求最短路径问题,传给大家看看,希望能对大家在实用中有点帮助-seek the shortest path problem, we look at the pass, we hope to the right a little practical help
- 2022-04-13 00:16:40下载
- 积分:1
-
利用三元组实现矩阵的简单运算
资源描述利用三元组实现矩阵的简单运算,包括矩阵加法、减法、乘法和置换的运算,同时利用QT实现了简单的页面。本资源利用了三元组对矩阵进行运算,时间性能大大增加。
- 2023-03-21 21:55:04下载
- 积分:1
-
VCD租赁系统,一个用VB编写的挺好用
VCD租赁系统,一个用VB编写的挺好用-VCD rental system, the one prepared by the VB very good use
- 2022-02-26 03:23:22下载
- 积分:1
-
tree data structure source code
树的数据结构源代码-tree data structure source code
- 2022-04-24 00:57:22下载
- 积分:1
-
use Excel to read the data, the use of VC 6.0, containing "odbcinst.h"...
使用VC++对Excel的数据读取,使用VC++6.0编写,含有《odbcinst.h》头文件编写,如果还有疑问请发邮件给我-use Excel to read the data, the use of VC 6.0, containing "odbcinst.h" The first document preparation, if still in doubt please send an email to
- 2022-03-07 14:32:27下载
- 积分:1
-
主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前...
主要是二叉树的一些性质的操作。包括复制,清空,求取树高,树中元素的个数,得到根结点,父亲结点,所有祖先,左儿子,右儿子,插入左儿子,右儿子,查找某个元素,以及前、中、后、层次遍历和相关的操作。另外,可以树形显示这棵树的信息。-Some properties are mainly binary operation. Including reproduction, empty, to strike a tree height, the number of elements in the tree get root node, the father node, all the ancestors, the left son, right son, insert the left son, right son, to find an element, and the former , during and after, hierarchical traversal and related operations. In addition, you can display tree tree information.
- 2022-11-05 05:15:02下载
- 积分:1
-
如何分离一个顺序表里的0元素和非0元素?本程序展示了三种高效算法并比较他们之间的性能...
如何分离一个顺序表里的0元素和非0元素?本程序展示了三种高效算法并比较他们之间的性能-How to separate 0 and non-0 element in a squencial list? The program shows three effective algorithm and compare their performances.
- 2022-03-12 05:02:42下载
- 积分:1
-
示例:为MSHFlexGrid控件的表格设置不同的背景色!
示例:为MSHFlexGrid控件的表格设置不同的背景色!-Example: In order to form a different background color to set!
- 2022-01-21 17:43:56下载
- 积分:1