#abc048b. [abc048_b]Between a and b ...
[abc048_b]Between a and b ...
Problem Statement
You are given nonnegative integers and (), and a positive integer . Among the integers between and , inclusive, how many are divisible by ?
Constraints
Input
The input is given from Standard Input in the following format:
Output
Print the number of the integers between and , inclusive, that are divisible by .
Sample Input 1
4 8 2
Sample Output 1
3
There are three integers between and , inclusive, that are divisible by : , and .
Sample Input 2
0 5 1
Sample Output 2
6
There are six integers between and , inclusive, that are divisible by : , , , , and .
Sample Input 3
9 9 2
Sample Output 3
0
There are no integer between and , inclusive, that is divisible by .
Sample Input 4
1 1000000000000000000 3
Sample Output 4
333333333333333333
Watch out for integer overflows.