登录
首页 » c » KMP

KMP

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

  • supermap
    流域管理系统,supermap二次开发,包含基本功能和一些分析功能,功能健全(Watershed management system, supermap secondary development, including the basic features and analysis capabilities, functioning)
    2020-07-03 19:00:02下载
    积分:1
  • Hospital-Management-System
    医院管理系统,包括工资档案、门诊收费、药品管理、院长查询和住院管理几个部分(Hospital management system, including wages records, outpatient charges, drug administration, the President query parts and hospital management)
    2010-09-01 19:38:54下载
    积分:1
  • M16-NRF2401
    nrf2401M16无线模块开发案例,很实用哦(nrf2401 wireless module development case)
    2011-09-21 23:42:33下载
    积分:1
  • HFPVU
    说明:  Programming library function query dictionary
    2018-12-26 07:24:23下载
    积分:1
  • com_debugger
    串口调试程序源代码,本例作为学习串口编程具有很好的参照作用。(Serial debugger source code, in this case as a learning serial programming with a good reference to the role.)
    2013-09-20 18:32:13下载
    积分:1
  • dingdian
    有关定点心电数据处理的算法的算法实现,分别用C语言和Matlab语言(youguan dingdian xindian shuju chuli de suan fa shixian ,fen bie yong C and Matlab)
    2011-12-30 16:05:29下载
    积分:1
  • adc_1602a
    基于M16+LCD1602的数字电压表设计,包含protues仿真和源码(M16+ LCD1602-based digital voltmeter design, simulation and code contains protues)
    2011-07-19 15:36:41下载
    积分:1
  • Pressure_Calculation
    说明:  EDEM默认压力模型,用于学习API编写(Edem default stress model for learning API writing)
    2020-04-13 13:38:22下载
    积分:1
  • bd2000
    是一个学生的 选课系统有很好的选课功能 可以商业买卖了(students is a good system Elective classes of functions can be a commercial trading)
    2005-04-05 10:57:25下载
    积分:1
  • daima
    北京大学acm第1002题的代码,可能有错误,仅供大家参考。(Peking University acm title code 1002 may be wrong, for your reference.)
    2009-01-02 10:39:34下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载