Sorted Digits
For a positive integer , let be the number created by sorting the digits of in ascending order, removing any zeros. For example, .
Let be the sum of for all positive integers of digits or less. You are given and .
Find . Give your answer modulo .
数字排序
对于正整数,记为将的各位非零数字按升序排序所得的结果。例如,。
记为所有至多位的正整数所对应的之和。已知,。
求,并对取余作为你的答案。
Be the first person to leave a comment!