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 26, 2022 12:37Bernard TeoBernard TeoScore: 14,289Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2022 12:3714,147531,957,218466,856,62602,285,568
2Aug 26, 2022 12:3714,185537,320,624468,104,57602,281,472
3Aug 26, 2022 12:3714,219533,005,548469,240,46002,277,376
4Aug 26, 2022 12:3714,246534,893,384470,104,43402,273,280
5Aug 26, 2022 12:3714,289534,857,449471,522,86802,281,472
6Aug 26, 2022 12:3714,308529,471,187472,164,67902,281,472
7Aug 26, 2022 12:3714,329547,019,232472,852,25502,281,472
8Aug 26, 2022 12:3714,349536,778,387473,530,03502,281,472
9Aug 26, 2022 12:3714,371543,646,318474,246,89502,281,472