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:27NoSIMD_C#NoSIMD_C#Score: 92,818Success
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:2792,1573,067,445,4582,997,221,00043,973,0002,338,816
2Dec 7, 2024 18:2792,3573,082,212,1882,991,793,00055,977,0002,449,408
3Dec 7, 2024 18:2792,4133,083,583,5842,993,682,00055,956,0002,367,488
4Dec 7, 2024 18:2792,5853,087,153,1313,003,339,00051,971,0002,547,712
5Dec 7, 2024 18:2792,8183,092,096,4003,018,029,00044,970,0002,338,816
6Dec 7, 2024 18:2794,7473,157,622,0663,077,688,00048,963,0002,531,328
7Dec 7, 2024 18:2794,7503,155,587,3363,066,788,00059,956,0002,519,040
8Dec 7, 2024 18:2795,0503,164,043,5593,067,716,00068,948,0002,519,040
9Dec 7, 2024 18:27125,3334,167,286,6924,080,014,00055,972,0002,347,008