
字符串 - KMP
是Elie呀
人生苦短,莫忘初衷;凡事相信,凡事期待。认真做事,认真做人!翁恺老师寄语:“其实学习终归是一件痛苦的事情,所以呢面对学习你还是得要认真,用功,努力地去学习。享受的是什么?是学习之后获得的那种成就,快乐是从成就中来的。”
展开
-
待补.....(KMP循环节)hdu1358 Period
hdu1358 Period Problem DescriptionFor 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 the prefix is a ...原创 2018-05-01 19:24:37 · 182 阅读 · 0 评论 -
(KMP)剪花布条
传送门: 剪花布条 Problem Description一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字符有多少个,布条的花纹也有多少种花样。花纹条和小饰...原创 2018-04-30 21:11:35 · 208 阅读 · 0 评论 -
(KMP)hdu4763 Theme Section
Theme Section Problem DescriptionIt's time for music! A lot of popular musicians are invited to join us in the music festival. Each of them will play one of their representative songs. To make t...原创 2018-04-30 17:16:58 · 141 阅读 · 0 评论 -
(KMP裸题)hdu1711 Number Sequence
Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a number K whic...原创 2018-04-19 21:25:23 · 182 阅读 · 0 评论 -
(KMP裸题)hdu1686 Oulipo
Problem DescriptionThe 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 Pa...原创 2018-04-17 21:19:47 · 266 阅读 · 0 评论