[Community Puzzle] Maximum sub-sequence

https://www.codingame.com/training/medium/maximum-sub-sequence

Send your feedback or ask for help here!

Hello, in the example, why do we have 0 1 2 and not -1 0 1 2 ?? it follows the rule right ??

The numbers must be in the same order as they appear in the input.

that because 2-1 = 1, and 1-0=0