Rosetta Problems

Negative Cost

https://atcoder.jp/contests/abc310/tasks/abc310_h