随笔分类 - 字符串 kmp
摘要:Pattern 3 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/car spark Description Vangelis the bear received a digital signal
阅读全文
摘要:A. Train and Peter 题目连接: http://www.codeforces.com/contest/8/problem/A Description Peter likes to travel by train. He likes it so much that on the tra
阅读全文
摘要:D. Messenger 题目连接: http://www.codeforces.com/contest/631/problem/D Description Each employee of the "Blake Techologies" company uses a special messagi
阅读全文
摘要:#5. 【NOI2014】动物园Time Limit: 20 SecMemory Limit: 256 MB题目连接http://uoj.ac/problem/5Description近日,园长发现动物园中好吃懒做的动物越来越多了。例如企鹅,只会卖萌向游客要吃的。为了整治动物园的不良风气,让动物们凭...
阅读全文
摘要:秋实大哥の恋爱物语Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/61Description传说有这么一个故事!在一个月白风清的晚上,秋实大哥约一位他心仪的妹子一起逛校园,浪漫的秋实大哥...
阅读全文
摘要:全都是秋实大哥Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/61Description秋实大哥是一个多愁善感的人,偶尔也会唱唱两句伤情的歌。每次唱完后,秋实大哥都能解决一道问题!这次也...
阅读全文
摘要:Power StringsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2406DescriptionGiven two strings a and b we define a*b to be their co...
阅读全文