Rosetta Problems

Planting the Flower Bed

https://atcoder.jp/contests/awc0167/tasks/awc0167_c