Rosetta Problems

サイコロ職人

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