登录
首页 » c » KMP

KMP

于 2022-08-04 发布 文件大小:211.02 kB
0 222
下载积分: 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 个回复

  • XMT_USB_VC6
    哈尔滨芯明天科技XE517系列压电陶瓷控制器配套上位机软件的开发例程,这个版本是VC6开发。发布时需要拷贝debug目录中的头文件和动态库文件到*.exe文件目录中。(Harbin XMT XE517 series of piezoelectric ceramic controller supporting PC software development routines, this version is VC6 development. When you need to copy the directory publishing debug header files and dynamic library files to*. Exe file directory.)
    2021-01-04 09:18:55下载
    积分:1
  • IOTest
    网络编程之异步IO之Select模型源码!!!!(WinSock Select code good good good good good!)
    2019-04-02 16:48:55下载
    积分:1
  • 构建二叉树
    说明:  分别根据已知给定序列前序序列、中序序列构建对应的二叉树,已知序列的后序序列、中序序列构建对应二叉树(Constructing the corresponding binary tree according to the given sequence order)
    2020-02-14 17:25:10下载
    积分:1
  • SoftwareEngineering002
    非程序员 第一期 第二期 第三期 对软件工程有兴趣的朋友可以下载来看看(Non-programmers the first phase of the second phase of the third phase of software engineering who are interested friends can download to look at)
    2009-03-06 16:24:25下载
    积分:1
  • wenMatlabFit_dn05
    利用Matlab工具在VC dotNet中实现聚点拟合以及直径测算的程序(Matlab tool in achieving VC dotNet accumulation diameter calculation and fitting procedures)
    2007-04-26 04:37:00下载
    积分:1
  • tutorialbooks_rar
    Difference is very iportant 7 useful for new guy. Us e it 7 enjoy!!!!
    2011-10-16 06:38:20下载
    积分:1
  • 基于stm32和freeRtos的工装检测程序
    基于stm32和freeRtos的工装检测程序,可以用于对智能电能表电路板各个测试点进行检测以及采用DLT645协议读取电表内的基本信息。可以直接使用也可以针对自己的产品进行修改。需要加载stm32的库文件。
    2022-08-25 06:32:39下载
    积分:1
  • huoqu
    说明:  获取本地计算机信息的小代码,比较简单,适合初学网络编程(a simple program of geting information from computer)
    2013-11-28 23:56:56下载
    积分:1
  • 彩票押注算法
    一个彩票急速求解最优开奖号码的方法,运用了索引等等提升性能。400w投注可以在1s之内求解出最优解。
    2023-04-12 16:15:05下载
    积分:1
  • ExchangeServer2003PDF(1)
    反垃圾邮件技术研究现状及解决办法。用于邮件服务器研究(Anti-Spam)
    2009-05-31 10:21:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载