1999. Smallest Greater Multiple Made of Two Digits
MathEnumeration
Hints
Hint 1
Could you generate all the different numbers comprised of only digit1 and digit2 with the constraints?
Hint 2
Going from least to greatest, check if the number you generated is greater than k and a multiple of k.
Preparing judge…