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

PROGRAMMING:The number of numbers with 8

Luz5年前 (2021-05-10)题库430
Modern people pay more and more attention to numbers. They all like numbers containing 8. Now I want you to program and calculate the number of numbers between a and B that contain the number 8 (for example, 181, 88, 8, 28 all contain the number 8, while 21, 45, 49 do not contain the number 8).
###Input format:
Enter two positive integers a and B in one line, separated by a space. 0###Output format:
Output the number of 8 between a and B. It includes a and B.
###Input example:
```in
1 30
```
###Output example:
```out
three
```






answer:If there is no answer, please comment