Problem L
Champernowne Count
The
Given two positive integers
Input
The single line of input contains two integers,
Output
Output a single integer, which is a count of the first
Sample Input 1 | Sample Output 1 |
---|---|
4 2 |
2 |
Sample Input 2 | Sample Output 2 |
---|---|
100 7 |
14 |
Sample Input 3 | Sample Output 3 |
---|---|
314 159 |
4 |
Sample Input 4 | Sample Output 4 |
---|---|
100000 999809848 |
1 |