The minimal sum of digits
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
How many positive integers from interval have the least sum of digits?
Input
Two integers and .
Output
Print the amount of positive integers from interval with minimum sum of digits.
Examples
Input #1
Answer #1
Submissions 11K
Acceptance rate 45%