Rosetta Problems

Cut and Count

https://atcoder.jp/contests/abc098/tasks/abc098_b