搜索资源列表
各种排序方法比较
- 这个程序包括了各种常用内部排序算法在平均排序所需时间上的比较.-this procedure include a wide range of internal sorting algorithm commonly used in the average time required for ordering on the comparison.
最短路径在铁路上实现的
- 是一种数据结构的编程代码,程序实现一种算法,在铁路系统上在两点间得到最短路径-is a data structure of the programming code, procedures to achieve an algorithm, the railway system in the period between 2:00 Shortest Path
[转载]nlogn的最长子序列算法
- 关于用nlogn的最长子序列算法,在网上摘录的-discusses the use of the longest sequences algorithm, in the extract from the Internet
树跟二叉树
- 本程序是实现二叉树跟树的常用算法,都是尽量用非递归来编写的。关于二叉树的都可以从键盘动态输入,关于树的就不可以,原因是树的结构问题,在程序中,树的建立用到动态左孩子/右孩子建立-this program is a binary tree with the tree is commonly used algorithm, as possible, to use non - recursive prepared. On the binary tree can be dynamic input fro
c小应用
- 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去掉不满足条件的排列。 2.程序源代码:-topic : 1,2,3,4 figures, the number can be formed with each other with no repeat of the triple-digit figures? How many are? 1. Program Analysis : c
C语言文件管理
- 操作系统中的文件是通过文件目录项来管理的,为了管理和查找的方便,按层次把文件目录项组织起来,同一层上的目录构成该层上的目录,第一层为根目录,一下为各层子目录。 假设以一串字符代表一个文件,每个字符表示一个记录。 在建立上述目录结构的基础上,建立相应的管理系统并要求完成以下各项操作: 1. 一次建立各个文件 2. 查访两个用户的所有文件 3. 查访用户sun 是否有文件AB 4. 删除用户sun的文件AC,然后在分别查访两个用户的全部文件,检查是否已经删除文件AC 5. 撤销用户sun,并检查是否
MD5加密的C++类
- 这是一个好用的MD5的C++类;这个类可以加在控制台 程序中也可用在MFC中, 并且提供了详细的错误处理 函数,是一个安全的类。例程是一个MD5的MFC程序, 支持字符串和文件两种输入。 LPCSTR TargetFile(char *filename=NULL) //计算文件的MD5值 void TargetStr(LPCSTR str) //计算字符串的MD5值 LPCSTR GetDigestKey() //取MD5运算后的结果 LPCSTR GetErr() //如果有错误,取错误字串
atoi
- 这是一个字符串到整型的转换,在很多程序设计中,这个小模块被频繁使用到。-This program implements the transformation of string to integer.This module is often used in many other program.
dashujiecheng
- 该源代码利用计算机模拟乘法竖式 计算阶乘 将每位数子保存在用new分配的一长字符数组里 在本人的机子上可计算30000!的精确值 用时近60秒-the source code used a computer simulation multiplication calculation factorial shaft will be preserved for each digit used in the distribution of a new long arrays of characte
先序线索化以及遍历
- 该程序提供对需要进行遍历的树的自定义输入,并可以在对树进行先序线索化之后遍历该树。-the procedures needed to traverse the tree from the definition of import, and to be right tree for first sequence of clues after traversal of the tree.
最短路径选择
- 利用VB开发的一个最短路径查询系统,算法是DijKstra,可以用在其他开发的软件中特别是GIS系统。-use VB shortest path of a query system, the algorithm is DijKstra, can be used in the development of other software, particularly GIS system.
92
- 本代码是用java语言编写的基于决策树c4.5算法的数据挖掘程序,它可以在很多领域如股票系统中使用 -the code is written in java-based Decision Tree Algorithm Bank data mining process, it can in many areas such as the use of the stock system
kruskal最小生成树实现
- 在boost基础上实现 对图的最小生成树实现,通过此算法可以找到此图中连接所有点的最小生成树。-the boost on the basis of the plan to achieve the minimum spanning tree, the algorithm can find this map connect all the points the minimum spanning tree.
minheap vs minleftisttree
- 这是一个用C++编写的代码,实现了最小堆和最小左偏树在插入删除元素性能方面进行比较. -This is a preparation of the C code, the smallest and youngest sculpture tree in the left side inserted delete elements performance comparisons.
数据挖掘在公司财务分析中的应用
- 数据挖掘在公司财务分析中的应用,用vc编程,希望能够帮助大家-data mining in financial analysis, the application vc programming, we hope to help
找出模式串t在主串s中的所有匹配
- 给定模式串t和主串s,找出模式串t在主串s中的所有匹配-to set the pattern and the main string t s, t find the pattern in the main string's match of all
哈夫曼编码在文件压缩中的应用
- 哈夫曼编码在文件压缩中的应用。能用哈夫曼编码进行文件压缩~
linear-list 线性表从顺序表中才查找与给定的元素值相同的元素在表中的位置
- 构造一个空的线性表从顺序表中才查找与给定的元素值相同的元素在表中的位置-Linear form constructed from an empty table in order to find only elements with the same value for a given element position in the table
39
- 给定程序中,函数fun的功能是:将N×N矩阵中元素的值按列右移1个位置,右边被移出矩阵的元素绕回左边。例如,N=3,有下列矩阵 1 2 3 4 5 6 7 8 9 计算结果为 3 1 2 6 4 5 9 7 8 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。 注意:源程序存放在考生文件夹下的BLANK1.C中。 不得增行或删行,也不得更改程序的结构! -A given program, function fun f
在字符串中提取部分字符
- 在字符串中提取部分字符 在字符串中提取部分字符
