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 28, 2026 22:18Victor MerckléVictor MerckléScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 22:195,682195,204,557186,407,0001,101,0002,113,536
2Jun 28, 2026 22:195,694196,190,980186,747,0001,167,0002,113,536
3Jun 28, 2026 22:195,697195,767,402186,924,0001,102,0002,113,536
4Jun 28, 2026 22:195,698196,926,066186,897,0001,162,0002,113,536
5Jun 28, 2026 22:195,706196,040,712187,132,0001,176,0002,113,536
6Jun 28, 2026 22:195,708196,144,686187,290,0001,095,0002,113,536
7Jun 28, 2026 22:195,712196,422,537187,349,0001,152,0002,113,536
8Jun 28, 2026 22:195,713196,435,952187,419,0001,118,0002,113,536
9Jun 28, 2026 22:195,718196,505,643187,596,0001,109,0002,113,536