Rosetta Problems

Profit from Consecutive Part-Time Jobs

https://atcoder.jp/contests/awc0160/tasks/awc0160_b

対応するローカル問題