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 listDec 22, 2023 06:38Sergey StreminSergey StreminScore: 16,595Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 06:3816,218603,212,112535,182,33102,314,240
2Dec 22, 2023 06:3816,410601,283,315541,540,32002,310,144
3Dec 22, 2023 06:3816,547574,604,832540,059,0006,000,0002,293,760
4Dec 22, 2023 06:3816,548615,192,187546,073,19202,318,336
5Dec 22, 2023 06:3816,574571,422,748536,937,0009,998,0002,379,776
6Dec 22, 2023 06:3816,585571,822,406539,301,0008,004,0002,408,448
7Dec 22, 2023 06:3816,595577,731,952538,639,0008,993,0002,416,640
8Dec 22, 2023 06:3816,655575,360,975541,630,0007,994,0002,510,848
9Dec 22, 2023 06:3816,656583,044,019541,660,0007,994,0002,281,472
10Dec 22, 2023 06:3816,936589,196,008549,879,0008,998,0002,424,832
11Dec 22, 2023 06:3817,185592,034,281560,113,0006,988,0002,420,736
12Dec 22, 2023 06:3817,192594,586,322557,344,0009,988,0002,506,752