Type: RemoteJudge 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.

说明

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

输入格式

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

输出格式

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

样例

39
40
41
42
43
44
82
83
84
85
6

2024021901

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2024-2-19 17:00
End at
2024-2-19 18:30
Duration
1.5 hour(s)
Host
Partic.
11