Rosetta Problems

String Query

https://atcoder.jp/contests/past202004-open/tasks/past202004_g