Need some more test case to understand it

need some more test case to understand the question properly

2, 3, -5, -10, 10
// ans should be (10 + 2 + 3) = 15

1, 2, 3, 4
// ans = (1 + 2 + 3 + 4) = 10

-10, -5, -3, -1, 1
// ans = 1

https://ide.codingblocks.com/s/349248 ,all test case passed except test case 0 ,help me out please.

@siddhant_samal take this test case
5
-5 3 4 -2 1
your output: 6
expected output: 7

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.