32 人解决,51 人已尝试。
37 份提交通过,共有 109 份提交。
4.9 EMB 奖励。
单点时限: 2.0 sec
内存限制: 256 MB
Farmer John wants to label his N (1 <= N <= 1,000,000) cows, but cows don’t like having the digit L (0 <= L <= 9) written on them, so he avoids that.
If the cows are labeled with the smallest set of N positive integers that don’t have the digit L, what is the largest number that Farmer John has to write on any cow?
10 1
22
32 人解决,51 人已尝试。
37 份提交通过,共有 109 份提交。
4.9 EMB 奖励。