Rosetta Problems

コイン集め (Coin Collecting)

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