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 13:54Victor MerckléVictor MerckléScore: 5,141Success
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 13:555,128177,006,819133,393,00035,834,0002,113,536
2Jun 27, 2026 13:555,130177,123,253132,660,00036,649,0002,113,536
3Jun 27, 2026 13:555,131177,150,844132,607,00036,734,0002,113,536
4Jun 27, 2026 13:555,135177,309,617132,713,00036,757,0002,113,536
5Jun 27, 2026 13:555,141177,802,469132,760,00036,905,0002,113,536
6Jun 27, 2026 13:555,143177,734,815132,937,00036,787,0002,117,632
7Jun 27, 2026 13:555,153178,101,231133,166,00036,911,0002,113,536
8Jun 27, 2026 13:555,155177,808,326132,473,00037,652,0002,113,536
9Jun 27, 2026 13:555,168179,717,979133,862,00036,693,0002,113,536