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 5, 2026 14:20Victor MerckléVictor MerckléScore: 6,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2026 14:216,656227,431,114182,218,00037,438,0002,113,536
2Jun 5, 2026 14:216,657227,381,975182,328,00037,380,0002,113,536
3Jun 5, 2026 14:216,663227,623,242182,494,00037,395,0002,113,536
4Jun 5, 2026 14:216,670227,824,242182,438,00037,695,0002,113,536
5Jun 5, 2026 14:216,671227,898,677182,914,00037,261,0002,113,536
6Jun 5, 2026 14:216,690228,516,563182,459,00038,337,0002,113,536
7Jun 5, 2026 14:216,699231,105,424183,548,00037,520,0002,113,536
8Jun 5, 2026 14:216,699228,889,598183,703,00037,392,0002,113,536
9Jun 5, 2026 14:216,699228,876,747183,604,00037,467,0002,113,536