Getting WA in CFINASUM

I matched my output by generating random testcase with someones code in AC. But still cant find the test case in which my output is wrong. Can someone please help me in finding fault in my code.
problem : CFINASUM Problem - CodeChef
code : CodeChef: Practical coding for everyone

According to the setter’s solution, the answer to the testcase:

1
11
66 18 -33 -30 77 -17 84 -84 5 -26 24

is 2.

3 Likes

oh! thankyou I got my mistake.

1 Like