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 listMay 27, 2024 23:49Joad NacerJoad NacerScore: 8,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:497,530305,628,958248,482,49402,228,224
2May 27, 2024 23:497,662312,431,816252,842,15102,232,320
3May 27, 2024 23:497,674306,846,680253,242,24102,240,512
4May 27, 2024 23:497,967292,000,260205,920,00056,978,0002,498,560
5May 27, 2024 23:498,004297,319,987207,109,00057,030,0002,473,984
6May 27, 2024 23:498,048287,399,935208,663,00056,908,0002,428,928
7May 27, 2024 23:498,066293,067,839209,149,00057,040,0002,338,816
8May 27, 2024 23:498,162296,863,563210,485,00058,856,0002,301,952
9May 27, 2024 23:498,196294,645,271213,587,00056,890,0002,433,024
10May 27, 2024 23:498,201296,099,105211,725,00058,923,0002,433,024
11May 27, 2024 23:498,335300,356,789217,033,00058,009,0002,433,024
12May 27, 2024 23:498,498303,218,429222,543,00057,881,0002,428,928