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 listSep 21, 2024 10:22Alex KentAlex KentScore: 309,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2024 10:22305,33710,117,372,26810,038,140,00037,977,0002,289,664
2Sep 21, 2024 10:22306,57010,152,990,09410,072,850,00043,973,0002,400,256
3Sep 21, 2024 10:22307,68310,186,715,67310,107,566,00045,970,0002,351,104
4Sep 21, 2024 10:22309,53710,244,044,43610,170,763,00043,973,0002,383,872
5Sep 21, 2024 10:22309,65110,248,585,25610,176,512,00041,973,0002,433,024
6Sep 21, 2024 10:22309,75910,249,442,80610,182,086,00039,976,0002,326,528
7Sep 21, 2024 10:22310,93610,298,887,64010,217,931,00042,970,0002,457,600
8Sep 21, 2024 10:22311,61010,317,258,41410,245,147,00037,974,0002,277,376
9Sep 21, 2024 10:22312,21910,342,798,01810,262,251,00040,977,0002,289,664