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 03:38NoSIMD_C#NoSIMD_C#Score: 318,944Success
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 03:38310,73010,286,421,89510,123,206,000130,899,0002,490,368
2Nov 8, 2024 03:38314,41510,410,193,91410,224,802,000150,879,0002,318,336
3Nov 8, 2024 03:38314,61010,417,895,27010,269,210,000112,914,0002,433,024
4Nov 8, 2024 03:38317,61110,520,023,13310,363,246,000117,911,0002,314,240
5Nov 8, 2024 03:38318,94410,561,102,81810,415,225,000109,928,0002,293,760
6Nov 8, 2024 03:38319,65310,578,498,60110,409,658,000138,902,0002,445,312
7Nov 8, 2024 03:38320,83210,629,048,15110,472,546,000114,907,0002,289,664
8Nov 8, 2024 03:38321,07010,642,125,41210,478,399,000116,904,0002,330,624
9Nov 8, 2024 03:38321,79910,662,134,81810,490,470,000128,907,0002,519,040