DescriptionA Benedict monk No. 16 writes down the decimal representations of all
natural numbers between and including m and n, m
≤ n. How many 0's will he write down?
InputEach line contains two
unsigned 32-bit integers m and n, m ≤
n.
OutputFor each line of input print one line of output with one integer number
giving the number of 0's written down by the monk.
Sample Test Cases| Input | Expected Output |
|---|
6808 12057 | 2605 |
74 3732 | 1036 |

Loading...
Statistics
The Tops