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 listJul 3, 2026 04:54Victor MerckléVictor MerckléScore: 45,265Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 04:5544,5671,337,013,0841,466,170,00015,194,0002,641,920stderr
2Jul 3, 2026 04:5544,5971,337,926,9061,467,605,00014,749,0002,641,920stderr
3Jul 3, 2026 04:5544,6891,340,672,3831,472,138,00014,973,0002,637,824stderr
4Jul 3, 2026 04:5545,1901,355,722,2141,490,094,00014,711,0002,637,824stderr
5Jul 3, 2026 04:5545,2651,357,969,1491,490,616,00014,802,0002,637,824stderr
6Jul 3, 2026 04:5545,3941,361,846,0381,496,224,00015,105,0002,641,920stderr
7Jul 3, 2026 04:5545,6781,370,350,5821,499,575,00015,218,0002,637,824stderr
8Jul 3, 2026 04:5546,2531,387,616,8581,522,503,00013,326,0002,641,920stderr
9Jul 3, 2026 04:5546,5581,396,741,7031,529,026,00013,021,0002,641,920stderr