Class Solution
java.lang.Object
g2401_2500.s2457_minimum_addition_to_make_integer_beautiful.Solution
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
makeIntegerBeautiful
(long n, int target) long
sumOfDigits
(long n)
-
Constructor Details
-
Solution
public Solution()
-
-
Method Details
-
makeIntegerBeautiful
public long makeIntegerBeautiful(long n, int target) -
sumOfDigits
public long sumOfDigits(long n)
-