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 18:14Victor MerckléVictor MerckléScore: 2,124Success
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 18:152,10663,189,158155,777,0001,226,0002,170,880stderr
2Aug 16, 2026 18:152,11263,380,719156,684,0001,226,0002,170,880stderr
3Aug 16, 2026 18:152,11563,457,665155,722,0001,249,0002,170,880stderr
4Aug 16, 2026 18:152,11863,553,138155,649,0001,234,0002,170,880stderr
5Aug 16, 2026 18:152,12463,739,803155,216,0001,255,0002,170,880stderr
6Aug 16, 2026 18:152,12463,728,636156,014,0001,272,0002,170,880stderr
7Aug 16, 2026 18:152,12663,798,223155,175,0001,247,0002,170,880stderr
8Aug 16, 2026 18:152,13363,993,438155,887,0001,245,0002,170,880stderr
9Aug 16, 2026 18:152,14364,291,543156,461,0001,285,0002,170,880stderr