Subset sum easy

not passing all test cases .

can anyone tell what is wrong in code ?

@Bond007 You missed to print the endl. And this question does not take a empty set as a subset so you have to check the count >1 .I have made some changes.Now it is working .

1 Like