
KMP
文章平均质量分 79
ACM_Ted
正在加油的火箭。
展开
-
【KMP】 hdu3613 Best Reward
Best Rewardhttp://acm.hdu.edu.cn/showproblem.php?pid=3613Problem DescriptionAfter an uphill battle, General Li won a great victory. Now the head of state decide to reward him with hono原创 2012-08-02 15:55:33 · 1479 阅读 · 0 评论 -
【KMP】 hdu3374 String Problem
String Problemhttp://acm.hdu.edu.cn/showproblem.php?pid=3374Problem DescriptionGive you a string with length N, you can generate N strings by left shifts. For example let consider the原创 2012-08-01 23:05:38 · 1164 阅读 · 1 评论 -
【KMP】 poj2406 Power Strings
Power Stringshttp://poj.org/problem?id=2406DescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we原创 2012-08-02 00:05:59 · 678 阅读 · 0 评论 -
【KMP】 hdu3746 Cyclic Nacklace
Cyclic Nacklacehttp://acm.hdu.edu.cn/showproblem.php?pid=3746Problem DescriptionCC always becomes very depressed at the end of this month, he has checked his credit card yesterday, wit原创 2012-08-02 00:23:35 · 737 阅读 · 0 评论 -
【KMP】 poj1961 Period
Periodhttp://poj.org/problem?id=1961DescriptionFor 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 whe原创 2012-08-02 09:32:33 · 589 阅读 · 0 评论 -
【KMP】 poj2752 Seek the Name, Seek the Fame
Seek the Name, Seek the Famehttp://poj.org/problem?id=2752DescriptionThe little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give原创 2012-08-02 09:53:08 · 622 阅读 · 0 评论 -
【KMP】 poj3461 Oulipo
Oulipohttp://poj.org/problem?id=3461DescriptionThe French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group.原创 2012-08-02 10:20:03 · 568 阅读 · 0 评论 -
【KMP】 hdu1867 A + B for you again
A + B for you againhttp://acm.hdu.edu.cn/showproblem.php?pid=1867Problem DescriptionGenerally speaking, there are a lot of problems about strings processing. Now you encounter another su原创 2012-08-02 10:41:50 · 1894 阅读 · 0 评论 -
【KMP】 hdu3336 Count the string
Count the stringhttp://acm.hdu.edu.cn/showproblem.php?pid=3336Problem DescriptionIt is well known that AekdyCoin is good at string problems as well as number theory problems. When give原创 2012-08-02 11:28:05 · 1624 阅读 · 0 评论 -
【KMP】 hdu2594 Simpsons’ Hidden Talents
Simpsons’ Hidden Talentshttp://acm.hdu.edu.cn/showproblem.php?pid=2594Problem DescriptionHomer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had.原创 2012-08-02 13:02:19 · 1345 阅读 · 0 评论 -
【KMP】 hdu4300 Clairewd’s message
Clairewd’s messagehttp://acm.hdu.edu.cn/showproblem.php?pid=4300Problem DescriptionClairewd is a member of FBI. After several years concealing in BUPT, she intercepted some important m原创 2012-08-02 17:11:19 · 1626 阅读 · 2 评论