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 13:52Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 01:27Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 03:10020,020,862,05660,022,011,0009,067,00069,632Killed by timeout
2Sep 1, 2026 13:531,63949,189,346117,745,0001,220,0002,170,880stderr
3Sep 1, 2026 13:531,64749,439,121118,599,0001,209,0002,170,880stderr
4Sep 1, 2026 13:531,65649,700,707117,734,0002,012,0002,170,880stderr
5Sep 1, 2026 13:531,65749,720,583117,872,0001,019,0002,170,880stderr
6Sep 1, 2026 13:531,66850,066,621119,761,0001,224,0002,170,880stderr
7Sep 1, 2026 13:531,66850,053,073118,685,0002,053,0002,170,880stderr
8Sep 1, 2026 13:531,66950,078,235119,778,0001,009,0002,170,880stderr
9Sep 1, 2026 13:531,67250,172,726117,755,0001,012,0002,170,880stderr
10Sep 1, 2026 13:531,67750,328,584118,658,0001,070,0002,170,880stderr