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 listNov 7, 2024 11:39NoSIMD_C#NoSIMD_C#Score: 474,975Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 11:39468,97615,510,326,50115,364,261,000111,936,0002,379,776
2Nov 7, 2024 11:39469,43215,527,687,02115,391,318,00099,943,0002,486,272
3Nov 7, 2024 11:39472,36915,621,938,83215,492,227,00095,939,0002,478,080
4Nov 7, 2024 11:39474,92115,709,339,89815,543,480,000128,912,0002,416,640
5Nov 7, 2024 11:39474,97515,710,208,19315,568,244,000105,940,0002,510,848
6Nov 7, 2024 11:39475,38615,725,862,67915,580,821,000106,930,0002,383,872
7Nov 7, 2024 11:39475,64615,732,779,37615,622,365,00073,954,0002,297,856
8Nov 7, 2024 11:39475,79615,742,300,32915,598,338,000102,936,0002,330,624
9Nov 7, 2024 11:39476,17915,747,636,02615,629,942,00083,951,0002,371,584