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 8, 2024 02:22NoSIMD_C#NoSIMD_C#Score: 325,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 8, 2024 02:22319,38510,575,918,19710,396,807,000142,887,0002,449,408
2Nov 8, 2024 02:22321,61310,648,544,88810,482,319,000130,904,0002,478,080
3Nov 8, 2024 03:12322,47410,687,792,38210,503,776,000137,878,0002,400,256
4Nov 8, 2024 03:12324,00010,736,086,64710,555,072,000136,923,0002,535,424
5Nov 8, 2024 02:22324,22310,738,216,94410,578,414,000120,936,0002,408,448
6Nov 8, 2024 03:12324,96610,759,894,81410,587,009,000136,883,0002,437,120
7Nov 8, 2024 02:22325,18910,770,309,44310,588,339,000142,896,0002,564,096
8Nov 8, 2024 03:12325,24610,774,995,81410,589,232,000143,894,0002,281,472
9Nov 8, 2024 03:12325,35310,769,062,48410,602,734,000133,908,0002,437,120
10Nov 8, 2024 03:12325,57410,785,803,08210,597,058,000146,876,0002,506,752
11Nov 8, 2024 03:12325,61210,781,381,54110,615,295,000129,905,0002,359,296
12Nov 8, 2024 03:12325,85710,786,795,77410,616,358,000136,914,0002,338,816
13Nov 8, 2024 02:22326,20510,804,520,39210,624,858,000139,892,0002,310,144
14Nov 8, 2024 02:22326,84010,823,370,12310,663,799,000121,917,0002,437,120
15Nov 8, 2024 02:22327,49110,849,042,98410,677,276,000129,930,0002,514,944
16Nov 8, 2024 02:22328,47310,880,388,70810,694,709,000144,887,0002,412,544
17Nov 8, 2024 03:12329,32510,899,199,55610,731,839,000135,896,0002,383,872
18Nov 8, 2024 02:22329,82010,925,280,23810,741,168,000142,895,0002,392,064