Maximum cost bits

Problem Name:
Maximum cost bits
Site:HackerEarth
Links:
Tags: