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 13, 2024 07:53NoSIMD_C#NoSIMD_C#Score: 87,617Success
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:3285,9602,862,737,3962,777,705,00058,972,0002,453,504
2Dec 7, 2024 18:3286,1282,875,035,6402,787,269,00054,965,0002,433,024
3Dec 7, 2024 18:3286,3282,880,618,0572,799,852,00048,979,0002,330,624
4Dec 13, 2024 07:5386,9842,896,239,4322,814,491,00055,969,0002,318,336
5Dec 7, 2024 18:3287,0382,905,164,0942,834,278,00037,976,0002,400,256
6Dec 7, 2024 18:3287,0452,898,933,1692,828,516,00043,976,0002,502,656
7Dec 7, 2024 18:3287,6172,918,057,4182,865,370,00025,985,0002,322,432
8Dec 13, 2024 07:5388,7062,960,584,3942,881,315,00045,973,0002,519,040
9Dec 13, 2024 07:5388,8202,958,768,1452,890,099,00040,973,0002,469,888
10Dec 7, 2024 18:3288,8432,958,314,2842,878,855,00052,978,0002,392,064
11Dec 7, 2024 18:3289,6352,984,837,5562,899,997,00057,959,0002,342,912
12Dec 7, 2024 18:3290,1043,005,950,9842,933,444,00039,978,0002,441,216