摘要:
Problem 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 whether the prefix is a periodic string. That is, for each i (2 <= i <= N) we want to know the largest K > 1 (if there is one) such that 阅读全文
posted @ 2012-03-04 13:50
万里心晴
阅读(184)
评论(0)
推荐(0)
浙公网安备 33010602011771号