
KMP算法
Fighting_Dream
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
NYoj-Binary String Matching-BF算法
Binary String Matching 时间限制:3000 ms | 内存限制:65535 KB 难度:3 描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as原创 2014-10-17 17:52:19 · 909 阅读 · 0 评论 -
模式匹配-BF算法
/***字符串匹配算法***/ #include #include using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef int Status; #define MAXSTRLEN 255 //用户可在255以内定义最长串长 typedef char SString[MAXSTRLEN+原创 2014-10-23 11:59:10 · 1468 阅读 · 0 评论 -
HDOJ-1686 Oulipo ---KMP
Oulipo Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5588 Accepted Submission(s): 2235 Problem Description The French author Georg原创 2014-12-08 21:29:56 · 797 阅读 · 0 评论 -
NYOj-1085-数单词改编-KMP
数单词 时间限制:2000 ms | 内存限制:120000 KB 难度:4 描述 为了能够顺利通过英语四六级考试,现在大家每天早上都会早起读英语。 LYH本来以为自己在6月份的考试中可以通过六级,可是没想到,成绩出来以后,居然没有通过。所以他不得不付出更多的时间来学习英语。 要想通过六级,最基本的要求就是词汇量。为了能够更快的记住一些陌生单词,LYH有时会找一翻译 2014-12-26 21:44:39 · 904 阅读 · 0 评论 -
模式匹配-KMP算法
/***字符串匹配算法***/ #include #include using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef int Status; #define MAXSTRLEN 255 //用户可在255以内定义最长串长 typedef char SString[MAXSTRLEN+原创 2014-10-23 11:55:52 · 1262 阅读 · 0 评论 -
NYoj-Binary String Matching-KMP算法
Binary String Matching 时间限制:3000 ms | 内存限制:65535 KB 难度:3 描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as原创 2014-10-18 08:51:35 · 941 阅读 · 0 评论