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 20, 2026 13:47Victor MerckléVictor MerckléScore: 14,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 13:4814,223476,972,786413,817,00055,567,0002,113,536
2Jun 20, 2026 13:4814,228477,244,611413,294,00056,255,0002,113,536
3Jun 20, 2026 13:4814,235477,423,343414,555,00055,210,0002,113,536
4Jun 20, 2026 13:4814,263478,176,143415,414,00055,293,0002,113,536
5Jun 20, 2026 13:4814,281478,886,967415,584,00055,710,0002,113,536
6Jun 20, 2026 13:4814,307479,944,170417,245,00054,907,0002,113,536
7Jun 20, 2026 13:4814,343481,087,056416,784,00056,560,0002,113,536
8Jun 20, 2026 13:4814,347481,425,366416,639,00056,821,0002,113,536
9Jun 20, 2026 13:4814,374481,854,676417,514,00056,833,0002,113,536