Rosetta Problems

RGB Matching

https://atcoder.jp/contests/arc121/tasks/arc121_b