-
Notifications
You must be signed in to change notification settings - Fork 2
boatparts
bradendubois edited this page Jun 9, 2021
·
6 revisions
ID: boatparts
Difficulty: 1.4
CPU Time: 1 second
Memory: 1024 MB
Keep a tally of unique parts seen, and a map to track their occurrences, and any time a part is seen for the first time, mark it in the map. If the number of unique parts is ever == P, output the day (by tracking that too) or the number of parts seen total, etc.