Subset sum easy problem

Please check the error

@anindya-gupta, your code is correct just the output format is wrong , you have to print β€œYes” and β€œNo” in a new line
so, just replace line 28 with
cout<<"Yes"<<endl;

and line 39 with
cout<<"No"<<endl;

corrected code:- https://ide.codingblocks.com/s/328651

In case of any doubt feel free to ask :slight_smile:
Mark your doubt as RESOLVED if you got the answer