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 17, 2022 23:03Franek KortaFranek KortaScore: 17,011Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 23:0316,985587,709,885544,515,00015,985,0002,494,464
2Dec 17, 2022 23:0316,985583,053,238545,528,00014,987,0002,334,720
3Dec 17, 2022 23:0316,990586,981,066542,696,00017,989,0002,367,488
4Dec 17, 2022 23:0316,996582,720,691545,887,00014,996,0002,510,848
5Dec 17, 2022 23:0317,007588,740,526548,226,00013,005,0002,494,464
6Dec 17, 2022 23:0317,008583,761,653543,280,00017,976,0002,363,392
7Dec 17, 2022 23:0317,011585,628,034544,345,00017,010,0002,506,752
8Dec 17, 2022 23:0317,020594,021,485540,683,00020,987,0002,478,080
9Dec 17, 2022 23:0317,022581,400,122543,750,00017,991,0002,428,928
10Dec 17, 2022 23:0317,787668,065,062586,977,71602,277,376
11Dec 17, 2022 23:0317,818657,797,321587,994,99202,277,376
12Dec 17, 2022 23:0318,173668,378,062599,697,48702,260,992