Time limit
15000 ms
Memory limit
524288 kB
OS
Linux
Source
hiho week 130
Descriptions:

后缀自动机四·重复旋律7

HihoCoder - 1457