Subset sum easy all test cases failed

pls check my code and help me to find out error
link:-https://ide.codingblocks.com/s/296039