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:48Joad NacerJoad NacerScore: 13,271Success
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:4813,117457,165,363370,878,00061,979,0002,281,472
2May 11, 2024 23:4813,135456,787,363368,545,00064,919,0002,371,584
3May 11, 2024 23:4813,190460,072,215371,385,00063,894,0002,375,680
4May 11, 2024 23:4813,209458,115,517375,919,00059,987,0002,375,680
5May 11, 2024 23:4813,210468,625,502372,950,00062,991,0002,347,008
6May 11, 2024 23:4813,243469,142,157373,021,00064,003,0002,281,472
7May 11, 2024 23:4813,271467,820,958373,939,00063,989,0002,433,024
8May 11, 2024 23:4813,470513,696,271444,505,65202,297,856
9May 11, 2024 23:4813,510473,654,125383,006,00062,836,0002,465,792
10May 11, 2024 23:4813,579477,171,840384,222,00063,870,0002,371,584
11May 11, 2024 23:4813,598507,894,011448,738,32602,306,048
12May 11, 2024 23:4813,791511,643,769455,098,61502,306,048