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 11, 2024 23:58Joad NacerJoad NacerScore: 11,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 23:5811,313401,445,704316,439,00056,899,0002,400,256
2May 11, 2024 23:5811,406398,488,618317,480,00058,903,0002,412,544
3May 11, 2024 23:5811,410400,701,575320,610,00055,932,0002,478,080
4May 11, 2024 23:5811,555402,678,863324,429,00056,899,0002,457,600
5May 11, 2024 23:5811,562402,232,598323,614,00057,931,0002,433,024
6May 11, 2024 23:5811,615408,382,475324,405,00058,891,0002,277,376
7May 11, 2024 23:5811,679444,093,514385,417,81702,228,224
8May 11, 2024 23:5811,694440,695,115385,893,15802,228,224
9May 11, 2024 23:5811,739448,249,951387,376,76902,232,320
10May 11, 2024 23:5812,084422,408,471342,800,00055,967,0002,412,544
11May 11, 2024 23:5812,187429,208,093344,280,00057,879,0002,420,736
12May 11, 2024 23:5812,468438,053,965352,532,00058,921,0002,420,736