摘要: Description The word “the” is the most commonthree-letter word. It evenshows up inside other words, suchas “other” and “mathematics”.Sometimes it hide 阅读全文
posted @ 2016-07-19 16:28 konjak魔芋 阅读(420) 评论(0) 推荐(0) 编辑
摘要: Description If a string is in the form UVU, where U is not empty, and V has exactly L characters, we say UVUis an L-Gap string. For example, abcbabc i 阅读全文
posted @ 2016-07-19 15:41 konjak魔芋 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: The Number of Palindromes Problem Description Now, you are given a string S. We want to know how many distinct substring of S which is palindrome. Inp 阅读全文
posted @ 2016-07-19 09:43 konjak魔芋 阅读(463) 评论(0) 推荐(0) 编辑