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 16, 2026 22:03Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 12:19Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 12:22014,260,9566,708,0001,249,0002,224,128expected "601 ", got "458 "stderr
2Sep 4, 2026 12:22011,656,66603,066,0002,240,512expected "756 ", got "533 "stderr
3Sep 4, 2026 12:22020,020,073,29759,989,488,00030,244,000114,688Killed by timeout
4Aug 16, 2026 22:072,12263,684,994154,404,0002,009,0002,215,936stderr
5Aug 16, 2026 22:072,17265,167,549156,464,0002,219,0002,220,032stderr
6Aug 16, 2026 22:072,19565,851,240154,233,0003,082,0002,215,936stderr
7Aug 16, 2026 22:072,20366,102,364155,089,0002,172,0002,220,032stderr
8Aug 16, 2026 22:072,21166,332,231153,899,0002,173,0002,215,936stderr
9Aug 16, 2026 22:072,21766,510,102155,448,0002,172,0002,220,032stderr
10Aug 16, 2026 22:072,22966,895,359154,659,0002,171,0002,220,032stderr
11Aug 16, 2026 22:072,23667,080,819155,515,0002,172,0002,220,032stderr
12Aug 16, 2026 22:072,26768,017,269155,327,0002,140,0002,215,936stderr