文件名称:12321121
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
主要算法说明:
将目标文件(即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
串计数问题