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 listDec 7, 2024 18:24NoSIMD_C#NoSIMD_C#Score: 94,382Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 7, 2024 18:2492,0143,063,996,8682,980,506,00055,971,0002,408,448
2Dec 7, 2024 18:2492,4093,079,684,2662,996,518,00052,973,0002,387,968
3Dec 7, 2024 18:2492,4783,083,742,6132,985,828,00065,952,0002,330,624
4Dec 7, 2024 18:2492,8853,091,062,6203,001,236,00063,962,0002,383,872
5Dec 7, 2024 18:2494,3823,141,840,5323,074,620,00039,982,0002,535,424
6Dec 7, 2024 18:2494,4343,143,878,8723,075,346,00040,977,0002,322,432
7Dec 7, 2024 18:2494,6963,154,565,7503,066,021,00058,961,0002,486,272
8Dec 7, 2024 18:2494,9963,163,184,9893,090,896,00043,970,0002,293,760
9Dec 7, 2024 18:24112,0273,820,438,9263,657,001,00039,880,0002,428,928