Rosetta Problems

AB Substrings

https://atcoder.jp/contests/diverta2019/tasks/diverta2019_c