Rosetta Problems
← atcoder に戻る
RGB
https://atcoder.jp/contests/aalc001/tasks/aalc001_e