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 9, 2024 22:32E SequeiraE SequeiraScore: 523,142Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 22:32519,66615,589,980,33315,458,466,00095,940,0002,740,224
2Nov 9, 2024 22:32520,17815,605,333,17615,464,002,00099,935,0002,543,616
3Nov 9, 2024 22:32522,43715,673,100,54715,527,463,000110,931,0002,584,576
4Nov 9, 2024 22:32523,04115,691,243,27415,557,726,00099,940,0002,576,384
5Nov 9, 2024 22:32523,14215,694,253,62315,573,099,00080,948,0002,772,992
6Nov 9, 2024 22:32523,29315,698,796,54215,559,780,000101,933,0002,531,328
7Nov 9, 2024 22:32524,06015,721,792,65315,586,032,00099,936,0002,572,288
8Nov 9, 2024 22:32524,24115,727,218,12115,592,284,000100,937,0002,674,688
9Nov 9, 2024 22:32524,64815,739,431,60615,581,837,000118,922,0002,662,400