help [PAYING UP]

hi… i am not getting any logic for this problem MARCHA1 Problem - CodeChef

plz plz help… i have tried it several times
problem in applying bitwise operators

if there is any other approach, for solving this?

plz help

I tried your submission for test cases from problem statement and it returned strange results - 21Jesa - Online C++ Compiler & Debugging Tool - Ideone.com

it’s a simple subset sum implementation

Check this out for more help:

4 Likes