More Even Digits than Odd
Count integers in [L, R] with strictly more even digits than odd digits.
Input: one line with two integers L and R.
Output: the count in [L, R].
Constraints:
- 1 ≤ L ≤ R ≤ 1018
Sample Tests
Input 1
1 20
Output 1
5
Input 2
10 99
Output 2
20
Discussion (opens after you solve — no spoilers before)
No comments yet.