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 23, 2026 19:59Andrew EpsteinAndrew EpsteinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 12:53Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 12:54020,021,091,20619,950,215,00048,071,00081,920Killed by timeout
2Aug 23, 2026 20:0020,002600,065,946578,508,0009,668,0002,138,112
3Aug 23, 2026 20:0020,075602,258,440581,755,0009,593,0002,125,824
4Aug 23, 2026 20:0020,157604,723,167582,241,0009,593,0002,138,112
5Aug 23, 2026 20:0020,198605,963,712584,004,00010,612,0002,125,824
6Aug 23, 2026 20:0020,257607,711,970586,301,0009,750,0002,138,112
7Aug 23, 2026 20:0020,274608,242,619586,975,0009,834,0002,138,112
8Aug 23, 2026 20:0020,276608,298,433587,930,0009,026,0002,138,112
9Aug 23, 2026 20:0020,329609,888,893589,266,0009,355,0002,134,016
10Aug 23, 2026 20:0020,352610,577,619588,260,00010,289,0002,138,112