搜索资源列表
Test
- 交换两个字符串指定的位置后面的字符串,结果是返回一个字符串数组,第一个是第一个字符串,第二个是第二个字符串。-swap to Strings with the specified location,return an array of string,the first is the first strings ,and the other is the second one.
bit.tar
- 将字符串转换成相应的比特为进行操作,提供标准的接口,外部程序可以方便的调用接口完成BIT位操作。-Converts a string into the corresponding bits of the operation, providing a standard interface, the external procedure call interface can easily complete the BIT bit operations.
8-classical-algorithm-c-language
- 1.实现将输入的string字符串反序输出。 2.一个数如果恰好等于它的因子之和,这个数就称为"完数"。例如6 = 1+2+3找出10000以内的所有完数。 3.下面程序的功能是将一个4×4的数组进行逆时针旋转90度后输出,要求原始数组的数据随机输入,新数组以4行4列的方式输出 4.编程打印杨辉三角。 5.实现将输入的字符串反序输出 6.实现字符串拷贝函数strcopy(char*src,char* dest) 7.求近似Pi值。可以用公式(如:pi/2 = 1+1/3+
DFAaNFA
- 编译原理,判断一个字符串是否满足由DFA和NFA表示的正则表达式-Compiler theory, to determine whether a string meets represented by the DFA and NFA regex
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
StringMatch
- 带通配符的字符串匹配,多重匹配,支持通配符“*”,“?”-String matching with wildcards, multiple matches, supports wildcards " *" , " ?"
ASCII2bin
- 这是一个C++程序,可以将ACII码转换成二进制形式的字符串-This is a C++ code project. You can use this project to chang a ASCII number into a Binary number.
SiftStringSimilarity
- SIFT3 字符串距离比较,类Levenshtein算法实现。速度较 Levenshtein距离算法快10-45倍。实现略有不同,结果也与 Levenshtein有些差异,但高速是此算法的特点。详情请看: http://siderite.blogspot.com/2007/04/super-fast-and-accurate-string-distance.html-Super Fast and Accurate string distance algorithm: Sift3. Fro
levenshtein_src
- 快速,内存高效的Levenshtein字符串相似度算法。相比以前用矩阵的算法,此算法只需两个数组。速度不减,且大大优化了内存的使用。 http://www.codeproject.com/Articles/13525/Fast-memory-efficient-Levenshtein-algorithm-Fast, memory efficient Levenshtein algorithm http://www.codeproject.com/Articles/13525/Fast-m
result
- 计算简单的加减乘除运算,以字符串方式输入,如输入‘123+4567’,回车后直接得结果‘4690’。 -Calculate simple arithmetic operations, a character string, such as input ' 123+4567 ' , ' 4690 results obtained directly after Enter' .
new_calc
- 一个简单而不同与以前算法的,字符串计算器。通过控制和改变一个标志位来决定算法的进行。-A simple algorithm is different from previous string calculator. By controlling and changing the flag to a decision algorithm.
Lcs_Nakatsu
- 最长公共子序列的Nakatsu算法 最长公共子序列(Longest Common Subsequence,LCS)是将两个给定字符串分别删去零个或多个字符后得到的长度最长的相同字符序列。 -Nakatsu longest common subsequence algorithm is the longest common subsequence (Longest Common Subsequence, LCS) is given two strings are deleting ze
Unfoldabbreviatedform
- 输入:包含缩写形式的字符串. 输出:将缩写形式进行还原后的字符串.-Unfold abbreviated form.
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
BytesCheck
- 异或校验和 CRC16查表法校验 CRC16带多项式计算法校验 FSC校验 字符ASCII 值获取 数组转为十六进制格式字符串 -XOR checksum CRC16 checksum table method CRC16 checksum calculations with polynomials FSC checksum Get ASCII value of character An array of string to hexadecima
binaryadder
- Linux终端下main函数从命令行接收字符串参数,从而实现二进制加法-Under the terminal of the Linux OS,this program can receive parameters via command line to realize the function of binary addition.
SM3
- SM3加密算法的实现,用VS2012编译,输入在in.txt中输入要加密的字符串-The realization of SM3 encryption algorithm
5.cpp
- 用字符串形式接收一个带括号的四则运算表达式,然后按照四则运算优先级的算法将这个算式算出-Receive arithmetic expressions with parentheses with a string, and then follow the four operations priority algorithm will calculate the formula
letter_order
- 一个简单的排序问题的解答,编程语言是C。 ■题目 输入为一个长度在1000字节以内,只含有英文半角小写字母的字符串。 请计算输出其中各字母出现的次数,按照从多到少的顺序排列并输出。 要求每行输出一个字母,并且当字母出现次数相同时,按照字母顺序输出结果。 ■例① 输入: abbccc 输出: c b a ■例② 输入: bcagggqhhhtlllopppiacb 输出: g h l p a b
PermutationAndCombination
- 排列组合算法程序,计算1至某个给定数的排列组合,将组合数输出到文本文档中,可以通过适当的修改,来完成字符串等的排列组合-Permutations algorithm to calculate a set of permutations and combinations to a given number, the number of combinations of output to a text document, by appropriate modifications, to comple