Rosetta Problems

グラフ上の探索の練習

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