Item i weighs 2^i and costs cost[i], with unlimited units of each. Buy a total weight of at least minWeight as cheaply as possible.
Item i weighs 2^i and costs cost[i], with unlimited units of each. Buy a total weight of at least minWeight as cheaply as possible.
Opens with the full question.