资源列表
kmp_suanfa
- KMP模式匹配算法,实现了用KMP算法无回溯查找字符串的功能
用分治法求第k小元素
- 用分治法求第k小元素 输入:程序从标准输入读入数据,第一行是一个整数n (1=<n<=100000)表示元素的个数,接下来的n行中每行有一个整数。最后一行是k,就是我们要找的第k小元素。 输出:针对每一组输入,输出一个结果,每个结果占一行。 例如: 输入 5↵ 123↵ 12↵ 1↵ 3↵ 4↵ 4↵ 输出: 12 ,Separation method using the first k elements in small
convexhull
- convexik jan convexik
machogfl
- 用途:用Cholesky分解法解方程组Ax=b 可利用该算法源码解求方程- Usage: The Cholesky decomposition solution of equations Ax = b can make use of the algorithm source solution of Equation
yanghuisanjiao
- 杨辉三角的算法还有yanghuisanjiao杨辉三角的程序设计-visual basic
number3
- 利用C语言写的求三对角方程组Tx=f的解,并将解输出-Written in C language requirements tridiagonal equations solution of Tx = f
btree
- 该文件描述了如何根据一个已知序列建立二叉树。-build tree.
Dijkstra
- 设在图G={V,E}中有一顶点r,Dijkstra算法可以求出其他所有点到点r的最短路径的跳数,这是求单源最短路径的一个最基本的算法。-There is a vertex, r, in the graph G={V,E}. As to every other vertex v, there exist several paths between v and r. The Dijkstra algorithm can get the hop count of the shortest path a
qipao
- 冒泡排序法,分别采用最大数下沉、最小数上升两种方法进行对比排序-Bubble sort method, were used to the maximum number of sinking, the smallest increase in two ways to sort the number of
Data-sharing-and-protection
- 明一个Cat类,拥有静态数据成员HowManyCats,记录Cat的个体数目;声明静态成员函数GetHoMany(),存取HowManyCats。设计程序测试这个类,体会静态数据成员和静态成员函数的用法。-States members GetHoMany () function, access HowManyCats design program test this class, experience static data members and static member functions
binsearch
- Binary search algorithm implementation.
Crout1
- 此文件为MATLAB的M文件,功能是通过Crout分解法,解线性方程组。-This file is a MATLAB M-file function is through the the Crout decomposition method for solving linear equations.