资源列表

« 1 2 ... .15 .16 .17 .18 .19 420.21 .22 .23 .24 .25 ... 2656 »

[数据结构常用算法rotate

说明:输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。-Enter a natural number N (2 ≤ N ≤ 9), the required output of a screw matrix, i.e. a side length of N* N, elements in the range 1 to N* N, 1 in the upper left, showing the elements ar
<> 在 2025-06-20 上传 | 大小:163kb | 下载:0

[数据结构常用算法nprime

说明:给定一个整数N(2 <= N <= 8),生成所有的具有下列特性的特殊的N位质数:其前任意位都是质数。-Given an integer N (2 < = N < = 8), to generate all of the following characteristics of the particular N-bit prime number: it before any bits are prime numbers.
<> 在 2025-06-20 上传 | 大小:161kb | 下载:0

[数据结构常用算法cow2

说明:x年出生的母牛从第x+m年开始到第x+n年止(含, 1 < m < n)每年生小母牛一头,并在第x+p(n < p < 70)年被淘汰。设第0年有刚出生的小母牛一头,求第k(k > 0)年存栏母牛多少头。-x cows born from x+m began to x+n Year ended (including, 1 < m < n) born heifers a year, and in the first x+p (n < p < 70) w
<> 在 2025-06-20 上传 | 大小:325kb | 下载:0

[数据结构常用算法data

说明:将N(1<= N <= 200000)个整数小到大连续编号,相同的数应具有相同的编号。并按这N个数输入时的顺序输出它们的编号序列。-The N (1 < = N < = 200000) of small to large continuous integer number, the same number should have the same number. According to the number of inputs of the N output in the
<> 在 2025-06-20 上传 | 大小:330kb | 下载:0

[数据结构常用算法btsystem

说明:基于MFC的北京铁路公交系统,利用C++程序编写。为北京理工大学数据结构结课作业。-MFC-based Beijing rail transit system, using C++ programming. Data structures for the Beijing Institute of Technology knot class job.
<wang> 在 2025-06-20 上传 | 大小:6.63mb | 下载:0

[数据结构常用算法dongwugame

说明:一款基于MFC的动物游戏程序。用到数据结构的树形结构。-An MFC-based animal games. Tree data structure used.
<wang> 在 2025-06-20 上传 | 大小:3.38mb | 下载:0

[数据结构常用算法shujujiegou_calculate

说明:基于MFC的计算器程序。类型同windows的计算器程序。利用数据结构的知识。-MFC-based calculator program. Type with the windows calculator program. Using the knowledge of the data structure.
<wang> 在 2025-06-20 上传 | 大小:2.27mb | 下载:0

[数据结构常用算法st

说明:数塔问题的解决算法,用于计算数塔中从顶层走到底层,若每一步只能走到相邻结点,则经过的结点的数字之和最大是多少。-Number of tower problem algorithm used to calculate the number of the tower from the top go bottom, each step can only be reached if the adjacent nodes, then after the number of nodes and the ma
<张智> 在 2025-06-20 上传 | 大小:559kb | 下载:0

[数据结构常用算法5exp1

说明:数据结构 c++邻接表构图 深度遍历和广度遍历-C++ adjacency list data structure traversal depth and breadth traversal
<张天> 在 2025-06-20 上传 | 大小:1kb | 下载:0

[数据结构常用算法folyd

说明:1.求所有点对的最短路径问题,设G=(V,E)是一个有向图,其中的每条边(i,j)由一个非负的长度l[i,j],如果从顶点i到顶点j没有边,则l[i,j]=∞。要找出从每个顶点到其他所有顶点的距离,这里从顶点x到顶点y的距离是指从x到y的最短路径的长度。 2. 通过一个图的权值矩阵求出它的每两点间的最短路径矩阵。 3. 从图的带权邻接矩阵A=[a(i,j)] n×n开始,递归地进行n次更新,即由矩阵D(0)=A,按一个公式,构造出矩阵D(1);又用同样地公式由D(1)构造出D(2);……
<suyu> 在 2025-06-20 上传 | 大小:4kb | 下载:0

[数据结构常用算法huffman

说明:  Huffman编码的关键点是构造一棵Huffman树。其过程是:   1.输入各个叶子节点及其频率,对每个节点的lchild, rchild, parent分别赋初值为0;   2.选择parent为0,且fre最小的两个节点开始建Huffman树,再修改相应节点的lchild, rchild, parent值,如此重复直到Huffman树建立。   3.从叶子到根逆向求每个节点的Huffman编码。 4.解压时,由于Huffman编码是前缀编码,即任一字符的编码都不是
<suyu> 在 2025-06-20 上传 | 大小:5kb | 下载:0

[数据结构常用算法packet

说明: 
<suyu> 在 2025-06-20 上传 | 大小:4kb | 下载:0
« 1 2 ... .15 .16 .17 .18 .19 420.21 .22 .23 .24 .25 ... 2656 »

源码中国 www.ymcn.org