Rosetta Problems

Maximum Subarray Sum of Profit and Loss

https://atcoder.jp/contests/awc0067/tasks/awc0067_b