What am i doing wrong and what should be the approach

link: https://ide.codingblocks.com/s/85861
problem: SUBSET SUM EASY.

is it the wright approach? what is the error?

please help me with this problem.

Hi,here you have to check that if the sum of the elements in any of the subsets is 0 then print yes else no.