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 11, 2024 00:06Hayden DonnellyHayden DonnellyScore: 438,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 00:06435,67014,409,870,59914,298,163,00078,951,0002,506,752
2Dec 11, 2024 00:06437,23214,469,129,48714,331,698,00096,943,0002,318,336
3Dec 11, 2024 00:06437,37514,473,500,13214,327,462,000105,929,0002,490,368
4Dec 11, 2024 00:06437,80314,479,753,26414,338,559,000108,935,0002,506,752
5Dec 11, 2024 00:06438,34114,502,823,14314,362,317,000102,930,0002,482,176
6Dec 11, 2024 00:06438,64314,514,740,97014,388,280,00086,941,0002,392,064
7Dec 11, 2024 00:06439,78714,556,094,57814,427,027,00085,940,0002,506,752
8Dec 11, 2024 00:06439,83214,548,420,69614,412,508,000101,932,0002,314,240
9Dec 11, 2024 00:06443,12514,660,392,50714,514,178,000108,933,0002,527,232