← 返回 meta 的题目列表Count Distinct Three-Digit Numbers
类型:online_judge
Find all three-digit numbers composed of distinct digits within a given range [left, right], where 100 ≤ left ≤ right ≤ 999. Each digit in the number must be different from the other digits. Return the count of such numbers.
Example
Input
100
150