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 8, 2026 15:44anboto1anboto1Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 21:05Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:37011,822,3121,319,000024,576No answer to stdout. Died or killed?
2Jun 8, 2026 15:455,248182,586,959164,948,0008,264,0002,117,632
3Jun 8, 2026 15:455,263182,887,284165,358,0008,325,0002,117,632
4Jun 8, 2026 15:455,279183,472,702164,997,0009,236,0002,117,632
5Jun 8, 2026 15:455,286183,667,598165,204,0009,242,0002,117,632
6Jun 8, 2026 15:455,291183,897,597165,425,0009,196,0002,117,632
7Jun 8, 2026 15:455,303184,519,950165,765,0009,255,0002,117,632
8Jun 8, 2026 15:455,341186,106,057166,948,0009,327,0002,117,632
9Jun 8, 2026 15:455,353185,863,234167,336,0009,315,0002,117,632
10Jun 8, 2026 15:455,369186,414,789167,881,0009,313,0002,117,632