#P349. 练60.3 余数个数
练60.3 余数个数
Description
Given integers, how many different remainders are there when these integers are taken modulo ?
Input Format
The input consists of lines, each containing a positive integer not exceeding .
Output Format
An integer representing the number of different remainders.
Sample
39
40
41
42
43
44
82
83
84
856
Related
In following homework: