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 listJun 17, 2024 16:21Joad NacerJoad NacerScore: 6,960Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2024 16:216,435293,715,156212,346,85802,220,032
2Jun 17, 2024 16:216,688277,779,256220,704,61702,215,936
3Jun 17, 2024 16:216,716277,075,358221,640,33602,211,840
4Jun 17, 2024 16:216,834256,266,863202,571,00022,951,0002,392,064
5Jun 17, 2024 16:216,858254,178,860200,292,00026,037,0002,338,816
6Jun 17, 2024 16:216,955255,753,214203,582,00025,946,0002,342,912
7Jun 17, 2024 16:216,960253,312,286204,701,00024,963,0002,400,256
8Jun 17, 2024 16:217,005258,666,311207,141,00024,016,0002,400,256
9Jun 17, 2024 16:217,053254,697,893207,763,00024,971,0002,482,176
10Jun 17, 2024 16:217,374267,863,267220,391,00022,936,0002,338,816
11Jun 17, 2024 16:217,408268,756,917220,506,00023,946,0002,330,624
12Jun 17, 2024 16:217,690276,711,642229,791,00023,978,0002,396,160