1324: 倍数统计

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:98 Solved:12

Description

给定整数 $a,b$ 与正整数 $c$,求出在 $a$ 到 $b$ 之间(包含 $a$ 与 $b$)有多少整数是 $c$ 的倍数。

Input

- 第一行:两个整数 $a$ 与 $b$;
- 第二行:单个正整数 $c$。

Output

- 单个整数:表示答案。

Sample Input Copy

4 6
5

Sample Output Copy

1

HINT

数据范围

- $−10^9≤a≤b≤10^9$
- $1≤c≤10^9$

Source/Category