Minimum Addition to Make Integer Beautiful
Round n up to the next multiple of a power of ten; the cheapest way to lower the digit sum is to clear the trailing digits.
Round n up to the next multiple of a power of ten; the cheapest way to lower the digit sum is to clear the trailing digits.