SUBSET SUM EASY problem whats wrong with my code?

question link == https://hack.codingblocks.com/contests/c/949/136

i dont know why my ans is wrong can anyone help me ?? whats wrong with my code