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 04:44Victor MerckléVictor MerckléScore: 4,289Success
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 04:454,169125,088,151339,834,0003,023,0002,301,952stderr
2Sep 1, 2026 04:454,232126,973,671346,346,0003,078,0002,265,088stderr
3Sep 1, 2026 04:454,250127,519,005347,930,0004,110,0002,486,272stderr
4Sep 1, 2026 04:454,283128,514,545353,139,0003,007,0002,334,720stderr
5Sep 1, 2026 04:454,289128,685,211351,147,0003,099,0002,260,992stderr
6Sep 1, 2026 04:454,299128,985,451354,125,0004,187,0002,572,288stderr
7Sep 1, 2026 04:454,318129,546,770356,071,0003,061,0002,535,424stderr
8Sep 1, 2026 04:454,324129,720,420354,223,0003,049,0002,387,968stderr
9Sep 1, 2026 04:454,331129,941,534356,095,0004,114,0002,347,008stderr