Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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:00NoSIMD_C#NoSIMD_C#Score: 357,909Success
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:00348,67310,460,176,72110,319,200,000126,916,0002,404,352
2Nov 8, 2024 03:00356,24910,687,477,98110,529,896,000144,929,0002,428,928
3Nov 8, 2024 03:00356,89610,706,872,27710,557,847,000139,891,0002,457,600
4Nov 8, 2024 03:00357,20610,716,194,21910,574,764,000133,895,0002,777,088
5Nov 8, 2024 03:00357,90910,737,256,35510,605,253,000126,907,0002,588,672
6Nov 8, 2024 03:00357,94610,738,379,72310,613,374,000120,913,0002,727,936
7Nov 8, 2024 03:00358,04910,741,471,88110,575,482,000159,886,0002,785,280
8Nov 8, 2024 03:00358,56710,756,997,04110,608,007,000133,911,0002,449,408
9Nov 8, 2024 03:00359,24810,777,452,10210,620,391,000149,892,0002,535,424