One of the test case is failing for SUBSET SUM EASY

Hi @Prateek-Narang-10209 bhaiya and @deepakaggarwal bhaiya for me one of the test case is following for SUBSET SUM EASY problem (https://hack.codingblocks.com/contests/c/452/136) . could you please suggest me how i can find for which scenario its not working and please also suggest if i can do any improvement in code from logic point of view .

https://ide.codingblocks.com/#/s/13240

Hello Vikash ! ur code is giving output No for this test case
1
4
-1 -1 -1 3
instead of Yes ,you can see here there exists a subset { -1,-1,-1,3} whose sum is zero. So fix this.