资源列表
KruskalAlgorithm
- 本文件主要完成Kruskal算法。本文件包括三个类,分别是顶点类、边类和Kruskal类。-The document completed Kruskal algorithm. This document consists of three categories, namely category vertex, edge type and Kruskal category.
prim
- (1)利用普里姆算法求网的最小生成树 (2)实现教科书中定义的抽象数据类型mfset。以此表示构造生成树过 程中的连通分量。 (3)以文本形式输出生成树中各条边以及他们的权值-(1) the use of prim algorithm for minimum spanning tree network (2) the realization of the textbook definition of abstract data types mfset. Spanning tree s
C
- Descr iption 一个一元多项式可以看作由若干个一元单项式按降幂排列成的线性表。请编写程序对输入的两个一元多项式求积,并输出求积的结果。 Input 输入为两个一元多项式,每个一元多项式输入一行,按照降幂依次输入每个单项式的系数和指数,并以-1 -1作为结束。 系数和指数均为整数,指数不小于0。 Output 输出为求积结果多项式,按照降幂依次输出每个单项的系数和指数,每个数值后面用一个空格隔开,输出结果多项式后换行。 系数为0的单项式不得
project2
- 一个程序,介绍一种简单算法,大家随便-A program to introduce a simple algorithm, we easily see
T2
- 系统基础结构,大学数据结构。作业,用数据结构方法,参照模版写实验报告。-System infrastructure, university data structure. Methods with data structures, not with the database program debugging good teacher acceptance was sought after. Acceptance, the reference template to write lab rep
hunynpipei
- 婚姻匹配算法研究,提供C++代码,主要实现代码,利用矩阵来分析-Marriage matching algorithm, provides C++ code, the main code, the use of matrix analysis
067109a
- 实现以循环链表表示的队列操作: 建队列,销毁队列,入队,出队,求队列长度,判断队空,显示队列。
shuixian
- 题目:打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该 数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。 分析:利用for循环控制100-999个数,每个数分解出个位,十位,百位。*/-Topic: print out all of the Narcissus few , the so-called Narcissus few refers to a three-digit, its Members and eq
Polynomialmultiplication
- 多项式乘法,使用C++语言编写的多项式乘法的程序,数据结构的经典程序-Polynomial multiplication, using the C++ language programs of polynomial multiplication, the data structure of the classic procedure
Sort
- 几种常见的搜索和排序算法。 包括:线性搜索、二分搜索、选择排序、插入排序、合并排序。-Several common searching and sorting algorithms. Include: linear search, binary search, selection sort, insertion sort, merge sort.
tudebianli
- 分别用邻接矩阵和邻接表实现图的深度优先搜索和广度优先搜索-Adjacency matrix and adjacency were used to map the table to achieve the depth-first search and breadth-first search
classic-and-KMP
- 用朴素的模式匹配和无回溯的KMP两种方式实现某些英文词组在文本中的匹配查找。-Simple pattern matching and no backtracking the KMP are two ways to achieve some English phrases in the text matching to find.
