Rosetta Problems

Substring

https://atcoder.jp/contests/abc177/tasks/abc177_b