Subset sum easy problem ;/

I have done this question using bitmasking approach but don’t know what is the problem with my recursive approach.I have simple made subsets of array and then checked the sum of each subset and applied a check named “check2” with which i am checking whether it will produce “Yes” or “No”.Its working fine but not getting submitted don’t know why.
Here is the link
https://ide.codingblocks.com/s/116825

@Aakash-Gupta-2308897339337431
Your code fails for multiple testcases.
Input :
2
4
1 2 3 -6
4
1 2 3 -9

Expected Output :
Yes
No

Your Output :
Yes
Yes