Whats wrong with this solution

This post was flagged by the community and is temporarily hidden.

Which ques?

Please dont discuss anything related to JULY20B .

problem : Maximum sum
code: BSPDP1

is it from live contest?