Rosetta Problems

Alternating Path

https://atcoder.jp/contests/aising2019/tasks/aising2019_c