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 listFeb 16, 2023 17:22LiamLiamScore: 349,600Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 16, 2023 17:21346,87011,520,960,42511,446,713,50102,306,048
2Feb 16, 2023 17:22347,31811,513,089,63911,461,486,82702,248,704
3Feb 16, 2023 17:21347,34411,530,341,13411,462,368,13602,310,144
4Feb 16, 2023 17:21347,48711,544,635,50711,467,071,24402,228,224
5Feb 16, 2023 17:21348,41311,552,852,14511,497,634,38302,256,896
6Feb 16, 2023 17:21349,26611,586,345,82411,525,787,73502,260,992
7Feb 16, 2023 17:21349,60011,601,400,52611,536,803,76702,260,992
8Feb 16, 2023 17:21350,09411,626,138,64811,553,088,91102,248,704
9Feb 16, 2023 17:22350,69311,643,111,38911,572,858,33902,260,992
10Feb 16, 2023 17:21351,44211,667,240,30711,597,596,52602,220,032
11Feb 16, 2023 17:22351,65411,669,502,49811,604,589,56502,269,184
12Feb 16, 2023 17:21354,18411,768,892,74911,688,058,49202,285,568