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 15, 2026 20:27Victor MerckléVictor MerckléScore: 7,228Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2026 20:287,206216,189,045599,856,00017,438,0002,396,160stderr
2Aug 15, 2026 20:287,207216,239,944597,898,00017,372,0002,568,192stderr
3Aug 15, 2026 20:287,220216,627,087600,848,00017,043,0002,228,224stderr
4Aug 15, 2026 20:287,222216,667,866601,704,00016,703,0002,322,432stderr
5Aug 15, 2026 20:287,228216,840,690600,309,00017,165,0002,461,696stderr
6Aug 15, 2026 20:287,233217,018,511601,194,00017,346,0002,387,968stderr
7Aug 15, 2026 20:287,249217,479,996599,047,00017,159,0002,338,816stderr
8Aug 15, 2026 20:287,253217,596,798600,539,00017,313,0002,375,680stderr
9Aug 15, 2026 20:287,286218,602,543604,545,00017,267,0002,457,600stderr