Rosetta Problems

Highway Discount Pass

https://atcoder.jp/contests/awc0098/tasks/awc0098_c