3435
Rt10K3435 代码
#include "Rt10K3435.h" const unsigned int RtTable[50][2]={\ {0,2749},{1,2632},{2,2521},{3,2415},{4,2314},{5,2218},{6,2126},{7,2039},{8,1956},{9,1877}, ......
Luogu P3435 [POI2006] OKR-Periods of Words
# [POI2006] OKR-Periods of Words ## 题面翻译 对于一个仅含小写字母的字符串 $a$,$p$ 为 $a$ 的前缀且 $p\ne a$,那么我们称 $p$ 为 $a$ 的 proper 前缀。 规定字符串 $Q$(可以是空串)表示 $a$ 的周期,当且仅当 $Q$ 是 ......