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:49Joad NacerJoad NacerScore: 14,590Success
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:4914,452501,725,886408,933,00067,988,0002,281,472
2May 11, 2024 23:4914,553509,022,176407,352,00072,884,0002,514,944
3May 11, 2024 23:4914,558511,709,321412,502,00067,918,0002,306,048
4May 11, 2024 23:4914,575506,083,323413,974,00066,995,0002,453,504
5May 11, 2024 23:4914,575507,949,351410,990,00069,998,0002,387,968
6May 11, 2024 23:4914,581504,697,300412,298,00068,882,0002,310,144
7May 11, 2024 23:4914,590506,788,211412,540,00068,923,0002,281,472
8May 11, 2024 23:4914,607506,120,684411,021,00071,003,0002,338,816
9May 11, 2024 23:4914,827512,915,242419,384,00069,897,0002,428,928
10May 11, 2024 23:4915,019558,908,739495,612,21402,236,416
11May 11, 2024 23:4915,022551,088,420495,729,75202,236,416
12May 11, 2024 23:4915,096572,006,863498,162,57202,232,320