练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.

说明

给出 1010 个整数,问这些整数 pmod42p \mod {42} 后有多少个不同的余数。

输入格式

输入共 1010 行,每行一个不超过 10910^9 的正整数。

输出格式

一个整数,表示不同的余数个数。

样例

39
40
41
42
43
44
82
83
84
85
6

202402240000

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
22
Start at
2024-2-24 13:00
End at
2024-2-24 15:30
Duration
2.5 hour(s)
Host
Partic.
9