练60.3 余数个数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
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
20251101C班作业(5)
- Status
- Done
- Problem
- 6
- Open Since
- 2025-11-1 0:00
- Deadline
- 2025-11-9 23:59
- Extension
- 24 hour(s)