
kmp
风之旅@
努力到一定的程度,幸运就会与你不期而遇
展开
-
28. 找出字符串中第一个匹配项的下标
力扣,KMP原创 2023-03-01 22:31:34 · 74 阅读 · 0 评论 -
kmp算法详解
从头到尾彻底理解KMP 本文转自博客:https://blog.youkuaiyun.com/v_july_v/article/details/7041827# 1. 引言 本KMP原文最初写于2年多前的2011年12月,因当时初次接触KMP,思路混乱导致写也写得混乱。所以一直想找...转载 2018-08-18 21:35:25 · 200 阅读 · 0 评论 -
poj-3461
Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait Pair norma...原创 2018-10-16 20:42:12 · 150 阅读 · 0 评论 -
hdu-2087 剪花布条
Problem Description 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input 输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多少个,布条的花纹也有多少种花样...原创 2018-10-20 15:35:08 · 261 阅读 · 0 评论 -
hdu-6153 A Secret
Problem Description Today is the birthday of SF,so VS gives two strings S1,S2 to SF as a present,which have a big secret.SF is interested in this secret and ask VS how to get it.There are the...原创 2018-10-21 13:26:20 · 161 阅读 · 0 评论