Rosetta Problems

Searching in a Circular String

https://atcoder.jp/contests/awc0115/tasks/awc0115_e