← All problemsSign in

Unique Numbers

Rar the Cat likes collating numbers. Given a list of $N$ integers, tell Rar the Cat how many unique integers there are in that list. ### Input - 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. ### Output Your output should contain one integer, the number of unique inte

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start