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 21:26Victor MerckléVictor MerckléScore: 2,126Success
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 21:292,10163,045,652158,693,0001,176,0002,170,880stderr
2Aug 16, 2026 21:292,10963,278,482158,032,0001,259,0002,170,880stderr
3Aug 16, 2026 21:292,11563,462,098158,605,0001,251,0002,170,880stderr
4Aug 16, 2026 21:292,12363,715,992158,298,0001,254,0002,170,880stderr
5Aug 16, 2026 21:292,12663,780,459159,911,0001,215,0002,170,880stderr
6Aug 16, 2026 21:292,12663,784,711159,441,0001,235,0002,170,880stderr
7Aug 16, 2026 21:292,13764,116,486159,291,0001,215,0002,170,880stderr
8Aug 16, 2026 21:292,13964,197,209159,508,0001,222,0002,170,880stderr
9Aug 16, 2026 21:292,16164,834,213157,535,0001,243,0002,170,880stderr