C. 练60.3 余数个数

    Type: Default 1000ms 64MiB

练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 1010 integers, how many different remainders are there when these integers are taken modulo 4242?

Input Format

The input consists of 1010 lines, each containing a positive integer not exceeding 10910^9.

Output Format

An integer representing the number of different remainders.

Sample

39
40
41
42
43
44
82
83
84
85
6

20251101C班作业(5)

Not Claimed
Status
Done
Problem
6
Open Since
2025-11-1 0:00
Deadline
2025-11-9 23:59
Extension
24 hour(s)