Rosetta Problems

Jump Distance Sum

https://atcoder.jp/contests/abc351/tasks/abc351_e