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 23, 2025 03:37Ian MckibbenIan MckibbenScore: 15,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2025 03:3715,238526,378,794424,867,00077,975,0002,301,952
2Jun 23, 2025 03:3715,266533,789,150425,820,00077,967,0002,318,336
3Jun 23, 2025 03:3715,297529,729,715434,832,00069,973,0002,314,240
4Jun 23, 2025 03:3715,323529,266,963424,712,00080,945,0002,371,584
5Jun 23, 2025 03:3715,354529,074,762435,728,00070,955,0002,486,272
6Jun 23, 2025 03:3715,363537,051,907437,973,00068,995,0002,322,432
7Jun 23, 2025 03:3715,385526,445,267419,744,00087,946,0002,318,336
8Jun 23, 2025 03:3715,387531,366,402423,815,00083,963,0002,400,256
9Jun 23, 2025 03:3715,693542,485,440450,880,00066,982,0002,310,144