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 listDec 7, 2024 18:29NoSIMD_C#NoSIMD_C#Score: 236,968Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 7, 2024 18:29227,4136,822,398,21315,515,861,000290,934,0002,641,920
2Dec 7, 2024 18:29228,9606,868,797,98915,448,253,000294,653,0002,523,136
3Dec 7, 2024 18:29235,3147,059,429,55715,606,722,000300,978,0002,318,336
4Dec 7, 2024 18:29236,0387,081,142,91215,723,333,000310,646,0002,990,080
5Dec 7, 2024 18:29236,9687,109,054,60015,731,646,000310,605,0002,838,528
6Dec 7, 2024 18:29238,2407,147,214,50515,744,477,000327,321,0002,752,512
7Dec 7, 2024 18:29238,5887,157,626,18915,797,650,000293,811,0002,637,824
8Dec 7, 2024 18:29239,9257,197,757,88015,899,290,000284,542,0002,781,184
9Dec 7, 2024 18:29239,9547,198,613,09215,743,001,000310,512,0002,686,976