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 12:37Victor MerckléVictor MerckléScore: 3,901Success
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 12:383,892136,265,394127,282,0001,160,0002,113,536
2Jun 28, 2026 12:383,894136,614,405127,326,0001,178,0002,113,536
3Jun 28, 2026 12:383,898136,535,005127,524,0001,140,0002,113,536
4Jun 28, 2026 12:383,900136,819,353127,530,0001,178,0002,113,536
5Jun 28, 2026 12:383,901136,679,084127,556,0001,180,0002,113,536
6Jun 28, 2026 12:383,901136,872,715127,586,0001,168,0002,113,536
7Jun 28, 2026 12:383,902137,049,762127,591,0001,196,0002,113,536
8Jun 28, 2026 12:383,905137,069,432127,698,0001,181,0002,113,536
9Jun 28, 2026 12:383,906137,024,677127,727,0001,173,0002,113,536