Sum it easy code problem

My example test cases are passing but when i submit code i get run time error.Please find below link of my code:


Could you please let me know ,what am i missing here?

make all the subsets bro, use bitmasking and count the sum