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:24Victor MerckléVictor MerckléScore: 6,225Success
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:256,188212,281,532201,895,0002,309,0002,113,536
2Jun 28, 2026 12:256,199212,331,972202,275,0002,300,0002,113,536
3Jun 28, 2026 12:256,210213,283,984202,618,0002,323,0002,113,536
4Jun 28, 2026 12:256,216213,321,768202,837,0002,301,0002,113,536
5Jun 28, 2026 12:256,225213,172,157203,203,0002,242,0002,113,536
6Jun 28, 2026 12:256,226214,684,192203,123,0002,337,0002,113,536
7Jun 28, 2026 12:256,231213,616,799203,321,0002,324,0002,117,632
8Jun 28, 2026 12:256,234213,973,111203,434,0002,295,0002,113,536
9Jun 28, 2026 12:256,243214,312,483203,726,0002,316,0002,113,536