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 1, 2026 10:53Victor MerckléVictor MerckléScore: 8,802Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 10:548,713261,408,783752,218,0002,041,0002,170,880stderr
2Sep 1, 2026 10:548,741262,234,660755,452,0001,003,0002,170,880stderr
3Sep 1, 2026 10:548,754262,646,224755,851,0001,029,0002,170,880stderr
4Sep 1, 2026 10:548,759262,780,313756,156,0002,038,0002,170,880stderr
5Sep 1, 2026 10:548,802264,074,949759,038,0001,027,0002,170,880stderr
6Sep 1, 2026 10:548,818264,546,300759,671,0001,025,0002,170,880stderr
7Sep 1, 2026 10:548,819264,593,573761,288,0001,014,0002,170,880stderr
8Sep 1, 2026 10:548,836265,104,133758,142,0001,009,0002,170,880stderr
9Sep 1, 2026 10:548,869266,072,005761,112,0002,018,0002,170,880stderr