Rosetta Problems

square1001の通学経路 (square1001's School Road)

https://atcoder.jp/contests/s8pc-1/tasks/s8pc_1_d