Rosetta Problems
← atcoder に戻る
City Walk and Tolls
https://atcoder.jp/contests/awc0050/tasks/awc0050_d