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 28, 2024 11:30NoSIMD_C#NoSIMD_C#Score: 305,395Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 11:30301,5789,989,872,1519,750,237,000201,839,0002,355,200
2Nov 28, 2024 11:30302,49310,018,919,6009,750,465,000231,820,0002,461,696
3Nov 28, 2024 11:30303,86410,060,034,8509,823,664,000203,847,0002,490,368
4Nov 28, 2024 11:30304,41710,080,257,9279,844,896,000200,855,0002,412,544
5Nov 28, 2024 11:30305,39510,110,907,7079,879,200,000198,843,0002,408,448
6Nov 28, 2024 11:30305,64410,120,020,3329,894,379,000191,871,0002,514,944
7Nov 28, 2024 11:30305,64910,125,025,7459,874,566,000211,840,0002,416,640
8Nov 28, 2024 11:30305,96910,134,156,6939,876,156,000220,824,0002,535,424
9Nov 28, 2024 11:30307,54410,184,200,3529,929,114,000219,825,0002,322,432