摘要: 问题:给你一个字符串,然后让你把所有的前缀给找出来,并把它们在字符串中的出现次数相加,输出这个和写出算法。InputThe first line is a single integer T, indicating the number of test cases.For each case, the... 阅读全文
posted @ 2015-05-14 13:34 chaoer 阅读(154) 评论(0) 推荐(0)