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 listAug 16, 2026 20:43Victor MerckléVictor MerckléScore: 2,132Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 20:462,10563,176,053158,173,0001,216,0002,170,880stderr
2Aug 16, 2026 20:462,10563,155,360158,228,0001,152,0002,170,880stderr
3Aug 16, 2026 20:462,12463,728,326157,365,0001,235,0002,170,880stderr
4Aug 16, 2026 20:462,12863,850,182158,285,0001,235,0002,170,880stderr
5Aug 16, 2026 20:462,13263,985,696158,739,0001,211,0002,170,880stderr
6Aug 16, 2026 20:462,13364,009,658157,988,0001,246,0002,170,880stderr
7Aug 16, 2026 20:462,13464,048,870157,008,0001,230,0002,170,880stderr
8Aug 16, 2026 20:462,13564,068,876157,889,0001,239,0002,170,880stderr
9Aug 16, 2026 20:462,14664,391,636158,998,0001,232,0002,170,880stderr