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 .
885. 排好序的数位
对某正整数 ,我们将其所有数位从小到大排序,去除所有前导零后拼出一个新数 。例如:。
我们记 为所有小于等于 位的十进制数 的 之和。已知:、。
求 模 之值。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。