Rosetta Problems

Journey of an Electric Vehicle

https://atcoder.jp/contests/awc0112/tasks/awc0112_b