Subset sum easy problem hb

https://hack.codingblocks.com/contests/c/547/136
https://hack.codingblocks.com/submission/1693757
what is issue in this

Can u explain your problem? Whats your doubt?