Rosetta Problems

Sequence of Substrings

https://atcoder.jp/contests/abc240/tasks/abc240_h