mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-14 03:41:41 +08:00
add leetcode problem-cn part6
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<p>给定一个<strong>非负</strong>整数 n,计算各位数字都不同的数字 x 的个数,其中 0 ≤ x < 10<sup>n </sup>。</p>
|
||||
|
||||
<p><strong>示例:</strong></p>
|
||||
|
||||
<pre><strong>输入: </strong>2
|
||||
<strong>输出: </strong>91
|
||||
<strong>解释: </strong>答案应为除去 <code>11,22,33,44,55,66,77,88,99 </code>外,在 [0,100) 区间内的所有数字。
|
||||
</pre>
|
Reference in New Issue
Block a user