阅读背景:

[KMP] BZOJ 1511/POI2006 OKR-period of words

来源:互联网 

题目描述

A string is a finite sequence of lower-case (non-capital) letters of the English alphabet. Particularly, it may be an empty sequence, i.e. a sequence of 0 letters. By A=BC we denotes that A is a string obtained by concatenation (joining by writing one immediately after another, i.e. without any space, etc.) of the strings B and C (in this order). A string P is a prefix of the string !, if there is a string B, that A=PB. In other words, prefixes of A are the initial fragments of A. In addition, if P!=A and P is not an empty string, we say, that P is a proper prefix of A.A string is a finite sequence of lower-ca




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: