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 17:48Victor MerckléVictor MerckléScore: 4,360Success
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 17:494,348151,247,834142,394,0001,100,0002,113,536
2Jun 27, 2026 17:494,349151,219,283142,428,0001,092,0002,113,536
3Jun 27, 2026 17:494,352151,420,291142,513,0001,107,0002,113,536
4Jun 27, 2026 17:494,360151,801,037142,719,0001,178,0002,113,536
5Jun 27, 2026 17:494,360151,665,507142,741,0001,146,0002,113,536
6Jun 27, 2026 17:494,365152,419,709142,887,0001,173,0002,113,536
7Jun 27, 2026 17:494,370151,989,118143,122,0001,112,0002,113,536
8Jun 27, 2026 17:494,387153,043,485143,600,0001,185,0002,113,536
9Jun 27, 2026 17:494,388152,997,932143,636,0001,187,0002,113,536