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 listAug 28, 2022 08:14Bernard TeoBernard TeoScore: 10,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2022 08:1410,264409,095,009338,715,74402,256,896
2Aug 28, 2022 08:4010,315401,242,954340,410,78102,260,992
3Aug 28, 2022 08:1410,317404,496,688340,472,24402,256,896
4Aug 28, 2022 08:1410,327400,144,378340,801,61002,248,704
5Aug 28, 2022 08:1410,387406,233,221342,768,41502,252,800
6Aug 28, 2022 08:4110,396417,333,903343,054,50502,252,800
7Aug 28, 2022 08:4110,397410,303,605343,094,09802,256,896
8Aug 28, 2022 08:1410,404414,385,343343,336,21202,240,512
9Aug 28, 2022 08:4010,410406,306,145343,521,37802,252,800
10Aug 28, 2022 08:4010,411409,055,197343,575,67702,252,800
11Aug 28, 2022 08:2510,458405,187,989345,124,56102,248,704
12Aug 28, 2022 08:4010,461397,043,261345,229,29202,252,800
13Aug 28, 2022 08:1410,502418,082,586346,568,98002,252,800
14Aug 28, 2022 08:4110,571416,091,647348,847,73502,248,704
15Aug 28, 2022 08:2510,773434,766,730355,509,81102,252,800
16Aug 28, 2022 08:4010,780418,042,576355,737,03202,236,416
17Aug 28, 2022 08:2510,816418,660,403356,934,46002,252,800
18Aug 28, 2022 08:4010,821431,830,632357,108,00502,252,800