Skip to content

Latest commit

 

History

History
47 lines (25 loc) · 938 Bytes

File metadata and controls

47 lines (25 loc) · 938 Bytes

English Version

题目描述

给定一个非负整数 n,计算各位数字都不同的数字 x 的个数,其中 0 ≤ x < 10

示例:

输入: 2
输出: 91 
解释: 答案应为除去 11,22,33,44,55,66,77,88,99 外,在 [0,100) 区间内的所有数字。

解法

Python3

Java

...