Циклическая Quest Codeforces - 235C (суффикс автомат)

NoSuchKey

рекомендация

отwww.cnblogs.com/Jiaaaaaaaqi/p/10995680.html