![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
KMP
JacquesdeH
.
展开
-
HDU2087 剪花布条 [KMP]
剪花布条 Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64uDescription 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input 输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都原创 2016-07-26 23:50:43 · 357 阅读 · 0 评论 -
UVAlive 3026 Period [KMP]
Period Time Limit: 3000MS 64bit IO Format: %lld & %lluFor each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whether原创 2016-07-27 00:43:46 · 308 阅读 · 0 评论