CHEFBR Test case Explanation

Can anyone please explain me the test case given in the problem ?

Sorry if this is against the rules, i’ll close the thread immediately if it is so…

Input:
11
-1 -2 9 2 -3 -4 3 4 8 8 1 

Output:
12

How can the answer be 12 ? Please Help…

This has been discussed here properly.

1 Like

The problem setter has chose not to explain the testcase for a reason. It would be wrong to give out anything , anything at all that is not mentioned directly in the problem statement. So please, respect the problem setter’s views and refrain from taking part in any of such discussions.

2 Likes

Okay i am sorry @skrcode and sorry @admin

I’ll try my best to figure out the cases… :slight_smile: