Unique strings Sergey Svistunov

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 22, 2024 16:06IhebIhebScore: 36,084Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 16:0635,8411,214,736,0201,124,829,00057,939,0002,310,144
2Dec 22, 2024 16:0635,9571,216,887,2521,114,673,00071,914,0002,351,104
3Dec 22, 2024 16:0635,9701,208,670,0551,120,056,00066,943,0002,424,832
4Dec 22, 2024 16:0636,0041,214,669,9861,119,193,00068,950,0002,301,952
5Dec 22, 2024 16:0636,0841,214,268,8951,132,817,00057,939,0002,412,544
6Dec 22, 2024 16:0636,0991,216,149,8421,119,326,00071,956,0002,375,680
7Dec 22, 2024 16:0636,1411,216,472,4581,123,733,00068,922,0002,363,392
8Dec 22, 2024 16:0636,4471,233,298,2581,127,836,00074,922,0002,424,832
9Dec 22, 2024 16:0636,7051,234,995,9131,148,299,00062,961,0002,428,928