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 12, 2024 17:52Joad NacerJoad NacerScore: 10,537Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 17:5210,036365,735,440273,336,00057,859,0002,498,560
2May 12, 2024 17:5210,056362,969,209275,864,00055,972,0002,351,104
3May 12, 2024 17:5210,186362,811,556279,107,00057,021,0002,433,024
4May 12, 2024 17:5210,343370,311,782282,444,00058,884,0002,502,656
5May 12, 2024 17:5210,436370,315,332287,491,00056,899,0002,428,928
6May 12, 2024 17:5210,519415,771,366347,127,07802,224,128
7May 12, 2024 17:5210,537402,510,166347,720,83002,224,128
8May 12, 2024 17:5210,648418,451,531351,387,76802,220,032
9May 12, 2024 17:5210,763381,096,811299,158,00056,029,0002,289,664
10May 12, 2024 17:5210,829381,429,785297,458,00059,890,0002,486,272
11May 12, 2024 17:5210,841379,347,031300,786,00056,959,0002,465,792
12May 12, 2024 17:5210,941393,220,137303,041,00058,007,0002,424,832