Rosetta Problems

Cargo Accumulation Work

https://atcoder.jp/contests/awc0182/tasks/awc0182_e