Can u explain this 13 output in piyush and magical park question

Yes
13
how we got 13?

@sktg99 hey sanchit
Here is link visit

I have seen that , but still not getting how 13 is the maximum energy gathered after each row, in that explanation too if u see the maximum value is either 16 or 17 , 13 is not possible
pls explain it now???

@sktg99 see sanchit 13 is the right ans do a run with the help of suggested one and how can you’re calculating 16, 17.

13 is not maximum value, the question is asking the maximum strength after every row, now according to that answer 13 is the strength after coming out of the park, so I’m saying that maximum strength possible could 17 in 3rd row,
can u check the question pls

sorry to bother, i got the confusion, and i have solved it successfully, thanks for help