-->
当前位置:首页 > 题库

PROGRAMMING:Count the number whose lower two bits are even

Luz5年前 (2021-05-10)题库418
Given two positive integers, m and N, m < n, calculate the sum of all numbers between M and n (including M and N) that meet the following conditions
Condition: single digit and ten digit are even
###Input format:
Enter two positive integers m and N, and ensure that the data is m < n, 10 < = m < n < = 1000.
###Output format:
Output the sum of all numbers satisfying the condition between M and N. after outputting the value, you need to output carriage return to wrap the line.
###Input example:
Here is a set of inputs. For example:
```in
20 25
```
###Output example:
The corresponding output is given here. For example, 20 + 22 + 24 = 86:
```out
sixty-six
```






answer:If there is no answer, please comment