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 27, 2026 22:23Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 03:16Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 04:43020,020,058,02720,010,087,0001,158,00016,384Killed by timeout
2Jun 27, 2026 22:243,331117,633,956108,838,0001,097,0002,113,536
3Jun 27, 2026 22:243,337118,451,408108,978,0001,168,0002,113,536
4Jun 27, 2026 22:243,337119,353,501108,958,0001,168,0002,113,536
5Jun 27, 2026 22:243,343118,372,294109,151,0001,172,0002,113,536
6Jun 27, 2026 22:243,343118,082,729109,185,0001,165,0002,113,536
7Jun 27, 2026 22:243,348118,472,608109,323,0001,164,0002,113,536
8Jun 27, 2026 22:243,349118,886,268109,343,0001,175,0002,113,536
9Jun 27, 2026 22:243,353118,960,674109,473,0001,183,0002,113,536
10Jun 27, 2026 22:243,354118,524,047109,517,0001,175,0002,113,536