Subset sum to targ

question https://hack.codingblocks.com/contests/c/512/1086
my code
https://ide.codingblocks.com/s/52628

Please don’t post the same query multiple times.