码迷,mamicode.com
首页 >  
搜索关键字:kmp    ( 3157个结果
NYOJ 5 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-07-19 13:26:19    阅读次数:274
Power Strings
poj2406:http://poj.org/problem?id=2406题意:给你一个串,让你找出这个串是由哪个串循环得到,出处循环的次数。题解;知道了KMP,用next数组直接搞定。判断ans=len%(len-next[len])==0?len/(len-next[len]):1; 1 #i...
分类:其他好文   时间:2014-07-19 12:21:07    阅读次数:391
POJ2752 Seek the Name, Seek the Fame 【KMP】
Seek the Name, Seek the Fame Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 11602   Accepted: 5680 Description The little cat is so famous, that many coup...
分类:其他好文   时间:2014-07-19 02:38:26    阅读次数:204
HDOJ3374 String Problem 【KMP】+【最小表示法】
String Problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1512    Accepted Submission(s): 668 Problem Description Give you a s...
分类:其他好文   时间:2014-07-19 02:33:46    阅读次数:222
POJ3690 Constellations 【KMP】
Constellations Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 5044   Accepted: 983 Description The starry sky in the summer night is one of the most beaut...
分类:其他好文   时间:2014-07-19 02:17:16    阅读次数:205
POJ2406 Power Strings 【KMP】
Power Strings Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 31388   Accepted: 13074 Description Given two strings a and b we define a*b to be their conca...
分类:其他好文   时间:2014-07-18 18:15:31    阅读次数:252
HDU3746 Cyclic Nacklace 【KMP】
Cyclic Nacklace Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2538    Accepted Submission(s): 1154 Problem Description CC always ...
分类:其他好文   时间:2014-07-18 12:33:57    阅读次数:312
HDU4763 Theme Section 【KMP】
Theme Section Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1114    Accepted Submission(s): 579 Problem Description It's time for...
分类:其他好文   时间:2014-07-18 12:19:26    阅读次数:207
HDU2594 Simpsons’ Hidden Talents 【KMP】
Simpsons’ Hidden Talents Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2798    Accepted Submission(s): 1055 Problem Description H...
分类:其他好文   时间:2014-07-18 11:08:36    阅读次数:309
POJ3461 Oulipo 【KMP】
Oulipo Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 22295   Accepted: 8905 Description The French author Georges Perec (1936–1982) once wrote a book, La...
分类:其他好文   时间:2014-07-17 19:23:57    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!