Rosetta Problems

飾りつけ (Decoration)

https://atcoder.jp/contests/ddcc2019-final/tasks/ddcc2019_final_e