Rosetta Problems

ボールの塗り分け

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1815