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 listJan 3, 2025 00:22tkaltkalScore: 261,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2025 00:22259,8688,612,281,4688,514,678,00060,961,0002,265,088
2Jan 3, 2025 00:22259,9588,607,528,5438,508,663,00069,956,0002,416,640
3Jan 3, 2025 00:22260,7368,636,713,2458,554,313,00049,972,0002,330,624
4Jan 3, 2025 00:22260,7908,639,019,9758,553,097,00052,969,0002,383,872
5Jan 3, 2025 00:22261,3858,657,884,7028,573,745,00051,968,0002,441,216
6Jan 3, 2025 00:22261,8478,673,158,1118,584,969,00055,967,0002,506,752
7Jan 3, 2025 00:22262,6638,706,524,6578,616,918,00050,969,0002,428,928
8Jan 3, 2025 00:22262,9308,708,596,5058,620,720,00055,965,0002,330,624
9Jan 3, 2025 00:22263,5408,736,848,6348,634,855,00061,963,0002,392,064