登录
首页 » 算法 » 字符串匹配 KMP算法

字符串匹配 KMP算法

于 2022-02-28 发布 文件大小:7.47 kB
0 182
下载积分: 2 下载次数: 1

代码说明:

包含main()函数,KMP()以及GetNext()函数。VS2010编译通过。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Message-Digest Algorithm 5
    MD5即Message-Digest Algorithm 5(信息-摘要算法5),用于确保信息传输完整一致。是计算机广泛使用的杂凑算法之一(又译摘要算法、哈希算法),主流编程语言普遍已有MD5实现。 将数据(如
    2022-12-22 17:25:03下载
    积分:1
  • 犯错
    java1
    2022-06-29 06:18:03下载
    积分:1
  • 龙贝格方。又一个数值
    龙贝格方法。又一个数值算法。-Romberg method. Also a numerical algorithm.
    2022-06-14 17:53:31下载
    积分:1
  • 邻域搜索
    在这个项目中我们的主要任务是执行引入巴恩斯 et al [1] 的 Patchmatch 算法。该算法只是最近的邻域快速计算是我们第二次的任务提供了同时实施重组算法在 Patchmatch 算法的图像。接下来的几节中我们将的概述如何 Patchmatch 和我们重新洗牌算法作品 (第 2 节),执行问题,包括我们的源代码 (第 3 节),我们的实现产生的结果 (第 4 节) 的简要概述,最后结论 (第 5 节),我们讨论的问题实施期间,进一步可以做的可能改进,当然我们这门课的结论。
    2022-04-10 15:49:53下载
    积分:1
  • 文件MD5 生产
    char *MD5_file (char *path, int md5_len)   {       FILE *fp = fopen (path, "rb");       MD5_CTX mdContext;       int bytes;       unsigned char data[1024];       char *file_md5;       int i;          if (fp == NULL) {           fprintf (stderr, "fopen %s failed ", path);           return NULL;       }          MD5Init (&mdContext);       while ((bytes = fread (data, 1, 1024, fp)) != 0)       {           MD5Update (&mdContext, data, bytes);       }       MD5Final (&mdContext);              file_md5 = (char
    2022-07-11 22:12:17下载
    积分:1
  • 介绍JPEG的原理和实现,可以做为新手的基础教材使用,会有很大的启发!...
    介绍JPEG的原理和实现,可以做为新手的基础教材使用,会有很大的启发!-JPEG introduced the theory and implementation can be used as the basis for teaching novice to use, there will be a great inspiration!
    2022-02-16 06:24:44下载
    积分:1
  • MFC下实现MD5加密
    MFC下实现加密算法MD5,可以对字符串跟文件进行加密.值得一看  Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any
    2022-03-04 02:53:21下载
    积分:1
  • 实现base64编解码运,实现base64编解码运
    实现base64编解码运算,实现base64编解码运算-BASE64 CODEC, achieving base64 CODEC
    2022-04-15 22:26:11下载
    积分:1
  • 基于改进的粒子群的微电网运行优化
    微电网是近来比较热门的话题,对于微电网的运行优化也是当前研究的重点,主要就是通过粒子群优化算法与遗传算法进行求解最优控制方案,已达到最优运行。本文献对粒子群算法进行了改进,同时比较简单,适合初学者。
    2023-01-11 05:10:04下载
    积分:1
  • 多机器人路径规划,RVO
    多机器人路径规划算法,可视化界面显示,默认实验数据为实现4个机器人路径规划。希望对于路径规划的学习者有一定帮助。
    2022-10-31 01:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载