Time limit
10000 ms
Memory limit
262144 kB
OS
Linux
Source
hiho week 132
Descriptions:

后缀自动机六·重复旋律9

HihoCoder - 1466