资源列表
suanfa
- 设A和B是2个字符串。要用最少的字符操作将字符串A转换为字符串B。这里所说的字符操作包括: 1. 删除一个字符 2. 插入一个字符 3. 将一个字符改为另一个字符 将字符串A变换为字符串B所用的最少操作数称为A到B的编辑距离,极为d(A,B)。设计一个算法,计算任意两个字符串的编辑距离。 -Set A and B are two strings. Operation will use the least character string A is converted to a
SORT
- 归并排序,首次上传东西,不懂规矩!-SORT
3
- 从一个迷宫的入口到出口找出一条可通路经。用一个二维数组MG(1:M,1:N)模拟迷宫,数组元素为0表示该位置可以通过,数组元素为1表示该位置不可以通行。MG(1,1)和MG(M,N)分别为迷宫的入口和出口。若存在一条可通路经,输出YES,否则输出NO-From the entrance to the exit of a maze to find an available path through. Two-dimensional arrays with a MG (1: M, 1: N) sim
ab
- 计算大数的阶乘,并输出结果的位数!计算范围为1至3-Calculate factorial of large numbers, and the output bits! Calculate the range of 1-3000
tree
- 二叉树的基本操作,插入,删除,先序遍历-The basic operation of a binary tree, insert, delete, first traversal, etc.
string-pailie-cPP
- C++版本的字符串排列算法,输出各种不同的排列,同时给出排列数-C++ version of the string alignment algorithms, the output of various different arrangements, and gives the number of arranged
programa-fatorial
- rprograma fatorial c
shuzu
- 用选择法排序,主要是用到数组的方法进行排序,数组还包括其他排序方法,此处介绍选择排序法-Sort by selection method, the method is mainly used to sort the array, the array also includes other sorting methods, choose sort described here
mgfruit
- noip 合并果子问题AC代码 思想:堆排序,贪心算法-noip AC code ideology combined fruit problem: heap sort, the greedy algorithm
dancipanixu
- 单词排序,用于把长句子去空格,并把单词按顺序输出-Word order, for the long sentences to space, and the word sequence output
duozuoyediaodu
- 用贪心算法实现的多处最优服务次序问题,希望对大家有所帮助-Greedy algorithm with the problem of multiple optimal service order
wanghao
- 内点法求最优解,可以找到每个稳定域的平衡点。-Interior point method for the optimal solution