The first line of input will contain one integer, N.
The second line of input will contain N integers, containing the list of integers that Rar the Cat wants to collate.
Your output should contain one integer, the number of unique integers there are in Rar the Cat's list.
1 ≤ N ≤ 1000000. The list of integers will fit into a 32-bit signed int.
10 1 2 3 4 5 6 6 8 9 10
9
10 -1 -2 -3 -4 0 0 -5 -6 -7 -1
8
Subtask | Score |
---|---|
1 | 100 |
2 | 0 |