Rosetta Problems

Same Color Check in the Flower Bed

https://atcoder.jp/contests/awc0017/tasks/awc0017_c