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 31, 2026 14:34Victor MerckléVictor MerckléScore: 103,819Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2026 14:36102,6743,080,234,9273,037,085,00032,028,0002,154,496stderr
2Aug 31, 2026 14:36103,4493,103,472,4423,058,167,00032,966,0002,154,496stderr
3Aug 31, 2026 14:36103,5603,106,813,4873,060,206,00034,213,0002,154,496stderr
4Aug 31, 2026 14:36103,6343,109,039,8053,061,828,00034,889,0002,142,208stderr
5Aug 31, 2026 14:36103,8193,114,590,9093,069,593,00033,398,0002,154,496stderr
6Aug 31, 2026 14:36104,8503,145,525,6613,101,095,00032,915,0002,154,496stderr
7Aug 31, 2026 14:36104,9973,149,934,8833,105,526,00032,856,0002,154,496stderr
8Aug 31, 2026 14:36105,1123,153,380,0753,109,695,00032,071,0002,154,496stderr
9Aug 31, 2026 14:36105,1923,155,771,7293,110,070,00034,058,0002,142,208stderr