Unique strings Sergey Svistunov

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 08:46Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 16:57Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 17:04020,020,383,85220,006,476,0004,643,00032,768Killed by timeout
2Aug 31, 2026 08:502,888103,729,27592,776,0002,552,0002,134,016stderr
3Aug 31, 2026 08:502,898104,120,91393,005,0002,646,0002,134,016stderr
4Aug 31, 2026 08:502,905104,315,50394,407,0001,472,0002,224,128stderr
5Aug 31, 2026 08:502,907104,258,58993,378,0002,558,0002,134,016stderr
6Aug 31, 2026 08:502,919104,997,37294,843,0001,486,0002,224,128stderr
7Aug 31, 2026 08:502,921104,753,32493,771,0002,635,0002,134,016stderr
8Aug 31, 2026 08:502,928105,098,69194,052,0002,578,0002,134,016stderr
9Aug 31, 2026 08:502,944105,465,63794,609,0002,571,0002,134,016stderr
10Aug 31, 2026 08:502,947105,554,05494,709,0002,571,0002,134,016stderr