You are given three integers l, r, and k.
Consider all valid sequences of length k where each digit is an integer chosen from the inclusive range l$,
Return the sum of all such numbers. Since the answer may be large, return it modulo
Note: Numbers with leading zeros are evaluated by their standard numeric value.
Constraints:
l r
k
You are given three integers l, r, and k.
Consider all valid sequences of length k where each digit is an integer chosen from the inclusive range l$,
Return the sum of all such numbers. Since the answer may be large, return it modulo
Note: Numbers with leading zeros are evaluated by their standard numeric value.
Constraints:
l r
k