Educational Codeforces Round 81 B. Infinite Prefixes(数学,字符串,思维)

NoSuchKey