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:51NoSIMD_C#NoSIMD_C#Score: 351,188Success
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:51346,77010,403,097,07910,278,309,000119,921,0002,371,584
2Nov 8, 2024 03:51348,93910,468,157,22110,344,350,000124,907,0002,543,616
3Nov 8, 2024 03:51349,99010,499,700,28210,368,595,000128,920,0002,756,608
4Nov 8, 2024 03:51351,10710,533,195,03110,413,096,000121,907,0002,592,768
5Nov 8, 2024 03:51351,18810,535,646,55710,412,626,000123,912,0002,547,712
6Nov 8, 2024 03:51352,39710,571,918,93010,438,737,000128,897,0002,535,424
7Nov 8, 2024 03:51353,88410,616,534,11710,479,618,000130,870,0002,473,984
8Nov 8, 2024 03:51354,36310,630,881,26510,503,270,000128,880,0002,617,344
9Nov 8, 2024 03:51355,18110,655,433,15110,502,381,000143,881,0002,371,584