Rosetta Problems

踊らされる雛人形

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