摘要: DescriptionGiven 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 think... 阅读全文
posted @ 2015-07-18 11:03 WhyWhy。 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 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 whe... 阅读全文
posted @ 2015-07-18 10:52 WhyWhy。 阅读(134) 评论(0) 推荐(0) 编辑