Rosetta Problems

DAG ゲーム

https://atcoder.jp/contests/past19-open/tasks/past19_m