SumThem All
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the sum of all the digits in all the integers between lowerBound and upperBound inclusive.
Input
Each line contains two integers lowerBound and upperBound (0 ≤ lowerBound ≤ upperBound ≤ 2 * 10^9
).
Output
For each test case print in a separate line the sum of all the digits in all the integers between lowerBound and upperBound inclusive.
Examples
Input #1
Answer #1
Submissions 451
Acceptance rate 35%