POJ 2406 Power Strings(KMP next[]函数)
摘要:
Power StringsTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 23112Accepted: 9691DescriptionGiven 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 of concatenation as multiplica 阅读全文
posted @ 2012-08-06 22:09 kuangbin 阅读(566) 评论(0) 推荐(0) 编辑