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 7, 2024 11:41NoSIMD_C#NoSIMD_C#Score: 523,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 11:41518,48015,554,389,45415,398,708,000115,937,0002,568,192
2Nov 7, 2024 11:41519,54915,586,466,94415,460,166,00090,948,0002,605,056
3Nov 7, 2024 11:41520,86115,625,822,55315,474,774,000112,932,0002,703,360
4Nov 7, 2024 11:41521,56615,646,981,84815,499,134,000115,933,0002,777,088
5Nov 7, 2024 11:41523,59315,707,802,58215,566,293,000100,937,0002,674,688
6Nov 7, 2024 11:41525,27915,758,380,66915,620,396,000105,934,0002,629,632
7Nov 7, 2024 11:41525,47915,764,364,49715,619,312,000105,934,0002,531,328
8Nov 7, 2024 11:41525,48815,764,639,26215,632,157,00098,937,0002,678,784
9Nov 7, 2024 11:41537,33016,119,894,90815,988,141,00092,942,0002,650,112