Rosetta Problems

Repetitive Structure of a String

https://atcoder.jp/contests/awc0164/tasks/awc0164_e