Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listSep 9, 2026 03:48Andrew EpsteinAndrew EpsteinScore: 7,445Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 12:53Tomislav Tunkovic10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 03:497,166214,982,585583,056,00018,418,0002,420,736
2Sep 9, 2026 03:497,336220,087,308576,153,00018,276,0002,433,024
3Sep 9, 2026 03:497,408222,243,017593,347,00020,402,0002,506,752
4Sep 9, 2026 03:497,438223,159,024587,866,00018,403,0002,269,184
5Sep 9, 2026 03:497,445223,365,283591,358,00018,346,0002,277,376
6Sep 9, 2026 03:497,460223,809,204590,441,00018,394,0002,445,312
7Sep 9, 2026 03:497,539226,192,629595,185,00020,075,0002,457,600
8Sep 9, 2026 03:497,582227,485,101591,784,00018,298,0002,408,448
9Sep 9, 2026 03:497,587227,618,667590,268,00018,379,0002,433,024