Author: | М. Спорышев | Time limit: | 1 sec | |
Input file: | Standard input | Memory limit: | 512 Mb | |
Output file: | Standard output |
Young programmer Alice does not like integers number K.
Alice wants to know number of integers in range from 1 to N (inclusive) not divisible by K.
Input contains two integer numbers N and K.
Output a single integer — number of integers not divisible by K.
2 ≤ N ≤ 109
1 ≤ K ≤ 100
No. | Standard input | Standard output |
---|---|---|
1 |
|
|
2 |
|
|