You are given two integers l and r.
An integer is called evenly good if it contains an even number of even digits.
Return the number of evenly good integers in the inclusive range [l, r].
Example 1:
Input: l = 18, r = 22
Output: 3
Explanation:
The evenly good integers in the range [18, 22] are:
Thus, the answer is 3.
Example 2:
Input: l = 98, r = 101
Output: 2
Explanation:
The evenly good integers in the range [98, 101] are:
Thus, the answer is 2.
Example 3:
Input: l = 1, r = 10
Output: 5
Explanation:
The evenly good integers in the range [1, 10] are 1, 3, 5, 7, and 9, because each of them contains 0 even digits. Thus, the answer is 5.
Constraints:
1 <= l <= r <= 1015No sample inputs for this problem yet. The examples in the statement show the format.