KMP
lizhaowei213
活着就为改变世界!
展开
-
POJ 2752 Seek the Name, Seek the Fame
D - DTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 2752DescriptionThe little cat is so famous, that many couples tramp over hill原创 2015-08-24 13:00:06 · 327 阅读 · 0 评论 -
HDU 1686 Oulipo
B - OulipoTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe French author Georges Perec (1936�1982) once wrote a book, La disparition原创 2015-08-11 13:05:27 · 335 阅读 · 0 评论 -
POJ 2406 Power Strings
C - Power StringsTime Limit:3000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven two strings a and b we define a*b to be their concatenation. F原创 2015-08-11 13:38:47 · 385 阅读 · 0 评论 -
HDU 1005 Number Sequence
A - Number SequenceTime Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1]原创 2015-08-11 13:09:38 · 289 阅读 · 0 评论 -
POJ 1961 Period
D - PeriodTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionFor each prefix of a given string S with N characters (each character has an原创 2015-08-11 14:28:39 · 337 阅读 · 0 评论 -
CSU 1598 最长公共前缀
1598: 最长公共前缀Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 73 Solved: 62[Submit][Status][Web Board]Description给定两个字符串s和t,现有一个扫描器,从s的最左边开始向右扫描,每次扫描到一个t就把这一段删除,输出能发现t的个数。Inp原创 2015-08-13 09:12:39 · 509 阅读 · 0 评论 -
hihoCoder 1015 KMP算法
#1015 : KMP算法时间限制:1000ms单点时限:1000ms内存限制:256MB描述小Hi和小Ho是一对好朋友,出生在信息化社会的他们对编程产生了莫大的兴趣,他们约定好互相帮助,在编程的学习道路上一同前进。这一天,他们遇到了一只河蟹,于是河蟹就向小Hi和小Ho提出了那个经典的问题:“小Hi和小Ho,你们能不能够判断一段文字(原创 2016-03-21 23:15:55 · 255 阅读 · 0 评论