搜索资源列表
StringFloat
- 在VB程序中,完成字符与单精度浮点数的转换,其中StringToDouble为字符串转换为单精度数,FloatToString为单精度数转换为4字节字符串。-in VB program, complete with characters in the single precision floating point conversion, which StringToDouble to string conversion of single-precision the number of sing
MoShiPiPei
- 有一串10000位数的主串由1、2、3、4四位数随机获得,n位模式串是指有4的n次方个模式串,如2位模式串有:11、12、13、14、21、22、23、24、31、32、33、34、41、42、43、44等16个数组成。现在进行模式匹配,假设主串为:431324113122341324132等等,则第一次比较是43,第二次比较是31,第三次比较是13,依此类推,每比较一次则落得模式串中的一个,当所有模式串(有4的n次方个)都被找到时,记得所比较的次数,则这个次数就是这次匹配的结果。程序执行了
lingjiancanshushejichengxu
- #include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #define p 0.5-#include \"stdio.h\" #include \"math.h\" #include \"malloc.h\" #include \"string.h\" #define m 6 #define n 29 #def
acbm
- AC-BM算法的实现的压缩包,很流行的字符串匹配算法,已经测试,-AC-BM algorithm for the realization of the compressed, the very popular string matching algorithm has been tested,
theSecond
- 这个程序分别用二分法,Newton法,弦截法,Newton下山法等算法求解非线性方程-this procedure were used dichotomy, Newton, String interception, Newton downhill law for solving nonlinear equations
Calculate_N!_Code_in_Delphi
- 用Delphi编写的计算n!的方法,是用字符串转换的,速度很慢,可以用来与常规方法比较,了解各自的优越性-prepared by the Delphi calculating n! The method is the use of the string conversion, the speed is very slow. can be used with conventional methods, the understanding of the superiority of their re
1800Decorations
- 该源码是一个问题的解决方法。问题是给你个长为L的串,串中可以出现n种字符,还给出m个子串,求有多少个长为n的只由这些字串组成的串。输入例子:4 5 6 ABB BCA BCD CAB CDD DDA 结果为2.而5 4 5 E D C B A的结果为625-source of the problem is a solution. The problem is that you have the head of the L series, the series can occur n ch
n2b
- Two functions, num2bin and bin2num are provided. num2bin takes a double and converts it to a binary string representation. bin2num is its inverse operation. It can be used in a numerical analysis course when floating point arithmetic is discussed.
playOnwords
- 这是一个关于字符串的问题,虽然小但是很精致.-This is a string of problems, although small but very delicate.
jsff123
- 计算方法中的五种算法: 二分法、简单迭代法、快速弦截法、龙贝格算法、弦截法。 附说明-calculation algorithm of five : dichotomy, a simple iterative method, rapid chord sheet, Lung Bergh algorithm string sheet. Annotated
xuanjiefaqiuge
- 在C语言环境下做的一个用弦截法求楼的程序.-in C language environment to do with a string sheet for floor procedures.
yuanma
- 1.大型稀疏线性方程组的求解 A*X=b 。 2. 一维数组冒泡法排序算法 4.矩阵求逆 5. 改进的牛顿算法——弦割法 -1. Large sparse linear equations, the solution X = A * b. 2. One-dimensional array Bubble Act Sorting Algorithm 4. 5 matrix inversion. Improved Newton's algorithm -- S
string
- 一段string中间有中文、英文、数字等的分析-The middle section of string in Chinese, English, numbers, etc. Analysis
ftoa.c
- This a fast floating point to string conversion function. Avoids the use of unsafe sprintf function. Works with float and double types. Correctly manages +inf, -inf, nnan (not a number).-This is a fast floating point to string conversion function. Av
String
- visuall c ++ string algorithm.
OCAML-String-to-String-Matching-Brute-Force
- Objective Caml (not lisp properly) Introduction to Functional Programming String to String Literal Force brute matching.
KMP-string-match
- 编写一个使用KMP算法的字符串匹配程序。 使用方法:字符串匹配.exe -f xxx.txt -s xxx -f 指定要查找的文件 -s 指定要查找的字符串-Writing a string matching algorithm using KMP program. How to use: string matching exe-f xxx.txt-s xxx-f to specify the file you want to find-s to specify the search
From-the-string
- 问题描述: 设有字符串X,我们称在X的头尾及中间插入任意多个空格后构成的新字符串为X的扩展串,如字符串X为“abcbcd”,则字符串“abcb□cd”,“□a□bcbcd□”和“abcb□cd□”都是X的扩展串,这里“□”代表空格字符。 如果A1是字符串A的扩展串,B1是字符串B的扩展串,A1与B1具有相同的长度,那么我们定义字符串A1与B1的距离为相应位置上的字符的距离总和,而两个非空格字符的距离定义为它们的ASCII码的差的绝对值,而空格字符与其它任意字符之间的距离为已知的定值K
common-string
- Algorithm to find the common string between 2 strings.
string
- 实现字符串的处理算法,比如KMP,看看就知道,很久前写的,希望能有帮助-Realization string processing algorithms, such as KMP, look, we know that a long time ago to write, hoping to help
