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: 521,007Success
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:32516,43715,493,116,01615,364,583,00091,949,0002,531,328
2Nov 9, 2024 22:32518,89915,566,963,42615,419,339,000111,937,0002,629,632
3Nov 9, 2024 22:32519,32315,579,685,95215,441,071,000105,938,0002,777,088
4Nov 9, 2024 22:32519,62415,588,708,75015,451,598,00099,939,0002,703,360
5Nov 9, 2024 22:32521,00715,630,212,74115,492,218,000107,938,0002,666,496
6Nov 9, 2024 22:32524,30615,729,181,05515,584,081,000101,922,0002,703,360
7Nov 9, 2024 22:32526,06015,781,795,74415,638,963,000103,926,0002,772,992
8Nov 9, 2024 22:32526,39115,791,742,67115,669,439,00090,938,0002,576,384
9Nov 9, 2024 22:32530,10715,903,221,53715,764,673,000106,943,0002,637,824