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:40Victor MerckléVictor MerckléScore: 4,328Success
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:444,301129,053,541351,584,0004,180,0002,326,528stderr
2Sep 1, 2026 04:444,307129,232,150352,932,0004,151,0002,531,328stderr
3Sep 1, 2026 04:444,319129,573,412352,241,0004,296,0002,531,328stderr
4Sep 1, 2026 04:444,322129,661,089353,351,0004,084,0002,592,768stderr
5Sep 1, 2026 04:444,328129,868,242353,871,0004,378,0002,387,968stderr
6Sep 1, 2026 04:444,335130,065,777354,106,0004,197,0002,326,528stderr
7Sep 1, 2026 04:444,356130,693,020354,780,0005,153,0002,527,232stderr
8Sep 1, 2026 04:444,369131,085,019356,231,0004,281,0002,531,328stderr
9Sep 1, 2026 04:444,381131,459,488357,364,0004,259,0002,326,528stderr