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 31, 2026 10:06Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 02:57Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 04:26020,020,441,40760,023,130,0005,103,000176,128Killed by timeout
2Aug 31, 2026 10:111,75552,660,131122,943,0002,091,0002,215,936stderr
3Aug 31, 2026 10:111,76452,929,415122,921,0003,069,0002,306,048stderr
4Aug 31, 2026 10:111,76753,038,060122,456,0003,065,0002,306,048stderr
5Aug 31, 2026 10:111,76953,083,821123,989,0003,183,0002,215,936stderr
6Aug 31, 2026 10:111,78753,624,296124,003,0003,089,0002,289,664stderr
7Aug 31, 2026 10:111,79353,802,796123,427,0003,044,0002,306,048stderr
8Aug 31, 2026 10:111,80854,246,345125,719,0002,207,0002,256,896stderr
9Aug 31, 2026 10:111,81454,446,644126,244,0003,075,0002,215,936stderr
10Aug 31, 2026 10:111,85055,525,374123,975,0003,097,0002,256,896stderr