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 24, 2026 18:38Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 03:50Tomislav Tunkovic30.52CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 05:10020,020,227,45420,005,733,0004,242,00016,384Killed by timeout
2Aug 24, 2026 18:392,871103,876,54692,580,0002,183,0002,121,728stderr
3Aug 24, 2026 18:392,878104,180,25792,772,0002,209,0002,121,728stderr
4Aug 24, 2026 18:392,881105,423,11892,886,0002,189,0002,121,728stderr
5Aug 24, 2026 18:392,886104,330,95293,055,0002,192,0002,121,728stderr
6Aug 24, 2026 18:392,897104,052,20193,386,0002,225,0002,121,728stderr
7Aug 24, 2026 18:392,903104,180,37493,588,0002,223,0002,121,728stderr
8Aug 24, 2026 18:392,915104,783,66194,012,0002,192,0002,121,728stderr
9Aug 24, 2026 18:392,924104,699,29994,322,0002,189,0002,121,728stderr
10Aug 24, 2026 18:392,924104,727,36594,280,0002,230,0002,121,728stderr