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:15Victor MerckléVictor MerckléScore: 3,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 22:163,712130,230,442121,401,0001,124,0002,113,536
2Jun 27, 2026 22:163,714130,410,070121,433,0001,150,0002,113,536
3Jun 27, 2026 22:163,714130,275,051121,492,0001,097,0002,113,536
4Jun 27, 2026 22:163,715130,374,425121,523,0001,100,0002,113,536
5Jun 27, 2026 22:163,717131,027,575121,486,0001,189,0002,113,536
6Jun 27, 2026 22:163,720130,455,996121,675,0001,092,0002,113,536
7Jun 27, 2026 22:163,722130,548,988121,734,0001,124,0002,113,536
8Jun 27, 2026 22:163,725130,712,848121,762,0001,168,0002,113,536
9Jun 27, 2026 22:163,728130,811,259121,901,0001,127,0002,113,536