文件名称:12321121
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:19.46kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
主要算法说明:
将目标文件(即program.txt)一行一行读入,读一行然后就利用kmp算法求出这一行有几个搜索的字符串,接着在读入一行在用同样的算法求出该行所含有要计数字符的个数,直到读到文件结束.将所有行读出的字符累加,即该文件下含有该字符的个数.-Main Algorithm Descr iption: The target file (ie program.txt) line by line, read, read a line and then find this line using kmp algorithm has several search strings, and then read a line in the same algorithm using the line find which contains the number of characters to be counted until the read end of file. will be read out all rows of characters cumulative, that is, under the file containing the number of characters.
将目标文件(即program.txt)一行一行读入,读一行然后就利用kmp算法求出这一行有几个搜索的字符串,接着在读入一行在用同样的算法求出该行所含有要计数字符的个数,直到读到文件结束.将所有行读出的字符累加,即该文件下含有该字符的个数.-Main Algorithm Descr iption: The target file (ie program.txt) line by line, read, read a line and then find this line using kmp algorithm has several search strings, and then read a line in the same algorithm using the line find which contains the number of characters to be counted until the read end of file. will be read out all rows of characters cumulative, that is, under the file containing the number of characters.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
串计数问题/123.txt
串计数问题/c1.h
串计数问题/input.txt
串计数问题/output.txt
串计数问题/program.txt
串计数问题/str4-30.c
串计数问题/串计数问题.c
串计数问题/串计数问题.exe
串计数问题/串计数问题.o
串计数问题/程序说明.txt
串计数问题
串计数问题/c1.h
串计数问题/input.txt
串计数问题/output.txt
串计数问题/program.txt
串计数问题/str4-30.c
串计数问题/串计数问题.c
串计数问题/串计数问题.exe
串计数问题/串计数问题.o
串计数问题/程序说明.txt
串计数问题
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.