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 9, 2026 22:18Victor MerckléVictor MerckléScore: 6,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2026 22:196,747230,219,487185,427,00037,255,0002,113,536
2Jun 9, 2026 22:196,756230,619,329184,832,00038,143,0002,113,536
3Jun 9, 2026 22:196,760230,803,062184,983,00038,099,0002,113,536
4Jun 9, 2026 22:196,760230,718,138184,794,00038,296,0002,113,536
5Jun 9, 2026 22:196,764230,806,362185,169,00038,050,0002,113,536
6Jun 9, 2026 22:196,771231,038,952185,108,00038,339,0002,113,536
7Jun 9, 2026 22:196,774231,170,590186,106,00037,459,0002,113,536
8Jun 9, 2026 22:196,793231,757,841185,762,00038,436,0002,113,536
9Jun 9, 2026 22:196,842233,430,329188,432,00037,365,0002,113,536