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 listMay 12, 2024 20:20Joad NacerJoad NacerScore: 13,436Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 20:2010,590430,697,975349,461,09302,244,608
2May 12, 2024 20:2010,650412,280,086351,437,22602,240,512
3May 12, 2024 20:2010,873437,133,234358,804,26102,236,416
4May 12, 2024 20:2012,913459,259,952371,123,00055,018,0002,437,120
5May 12, 2024 20:2012,988451,909,266369,657,00058,945,0002,519,040
6May 12, 2024 20:2013,361466,580,905381,923,00058,988,0002,383,872
7May 12, 2024 20:2013,436474,339,740384,466,00058,918,0002,510,848
8May 12, 2024 20:2013,522474,081,340388,190,00058,028,0002,428,928
9May 12, 2024 20:2013,524470,456,953387,398,00058,908,0002,355,200
10May 12, 2024 20:2013,981485,140,007405,450,00055,924,0002,502,656
11May 12, 2024 20:2014,023486,182,951404,791,00057,970,0002,359,296
12May 12, 2024 20:2024,036817,602,363734,245,00058,939,0002,420,736