登录
首页 » c » KMP

KMP

于 2022-08-04 发布 文件大小:211.02 kB
0 106
下载积分: 2 下载次数: 1

代码说明:

#include #include #include //朴素查找算法 //在主串str中查找子串sub int BF(const char *str,const char *sub,int pos)//O(n*m) {  int lenstr = strlen(str);  int lensub = strlen(sub);  if(poslenstr)  {   return -1;  }  int i = pos;  int j = 0;  while(i

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

发表评论

0 个回复

  • RD
    说明:  一个实时的屏幕录像程序,能够完成对屏幕状态的完全监控!(A real-time screen recording program can be completed entirely on-screen status monitor!)
    2013-06-07 10:02:23下载
    积分:1
  • originalpointanalyse2
    源点定位程序,可用于检测连通域等功能,代码是c/c++的,放心使用。(Source point positioning procedures, can be used to detect other functions connected domain, the code is c/c++, and ease of use.)
    2013-09-28 08:31:12下载
    积分:1
  • TIM—高级定时器互补输出
    TIM—高级定时器互补输出F4可以使用.多谢使用(TIM-Advanced Timer Complementary Output F4 can be used. Thank you for using it.)
    2019-06-26 03:27:54下载
    积分:1
  • Windows SDK 窗口程序——图标、菜单、加速键、消息框
    SDk窗口程序,图标、菜单、加速键、消息框的使用, 涉及到的资源请自行加载。
    2022-12-26 12:25:03下载
    积分:1
  • ZStack-CC2530-2.5.1a-ultrasonic
    基于zigbee技术CC2530 开发采集超声波(Development of Acquisition Ultrasound Based on Zigbee Technology CC2530)
    2020-06-22 22:40:02下载
    积分:1
  • BmpMenu
    图片菜单的制作,是用MFC实现的,我还有很多这类的原码(Photo menu production, is the MFC, I still have many of these original code)
    2005-06-28 23:00:06下载
    积分:1
  • main0601
    这是一个用退火算法来求解货郎担问题的matlab优化程序(This is a annealing algorithm to solve the traveling salesman problem matlab optimizer)
    2011-11-04 18:31:32下载
    积分:1
  • WebKit.NET-0.5-bin-cairo
    Web开发 控件 C# google浏览器内核,Winform开发必备(Web development control C# Google browser kernel, Winform development necessary)
    2018-06-04 10:50:36下载
    积分:1
  • vowelrase
    简单soket cs通讯示例 采用VC语言,也通过运行,有算法简介,,()
    2018-04-10 13:55:18下载
    积分:1
  • NumericalRecipes
    数值分析方法库 本书编写了300多个实用而有效的数值算法C语言程序。其内容包括:线性方程组的求解,逆矩阵和行列式计算,多项式和有理函数的内插与外推,函数的积分和估值,特殊函数的数值计算,随机数的产生,非线性方程求解等(Numerical analysis method to prepare a library book more than 300 practical and efficient numerical algorithm C language program. Its contents include: linear equations, calculation of inverse matrix and determinant, polynomial and rational function interpolation and extrapolation, function points and the valuation of special functions numerical calculation, random number generation, non- Solving linear equations, etc.)
    2008-06-03 21:24:04下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载