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 17:29Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:54Tomislav Tunkovic13.66CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 22:01010,918,9141,877,0001,649,0002,174,976expected "7223 ", got "7992 "stderr
2Sep 4, 2026 22:01020,019,820,30760,021,606,0006,087,00086,016Killed by timeout
3Aug 23, 2026 17:301,81354,414,431132,621,0001,261,0002,170,880stderr
4Aug 23, 2026 17:301,84055,221,660133,954,0001,012,0002,170,880stderr
5Aug 23, 2026 17:301,84555,359,896135,685,0001,256,0002,170,880stderr
6Aug 23, 2026 17:301,84655,396,857135,648,0001,215,0002,170,880stderr
7Aug 23, 2026 17:301,85155,558,564135,584,0001,210,0002,170,880stderr
8Aug 23, 2026 17:301,86455,941,713136,330,0001,012,0002,170,880stderr
9Aug 23, 2026 17:301,90257,068,004140,293,0001,006,0002,170,880stderr
10Aug 23, 2026 17:301,90257,064,673140,478,0001,005,0002,170,880stderr
11Aug 23, 2026 17:301,99759,911,061147,970,0001,003,0002,170,880stderr