Rosetta Problems

宝探し

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