Help me in solving MAXSUMSUBARR problem

My issue

this is the same as kadane’s algorithm
how one solve this using the given dp equation
can anyone bring some light on this plz

i didn’t understand how one can compare the value of maximum sum of all subarrays like this

Learning course: Dynamic programming
Problem Link: CodeChef: Practical coding for everyone