Minimum Increments for Target Multiples in an Array
Each number covers a subset of targets at the cost of raising it to the next multiple of their lcm, tracked by a bitmask DP.
Each number covers a subset of targets at the cost of raising it to the next multiple of their lcm, tracked by a bitmask DP.