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:44Victor MerckléVictor MerckléScore: 3,331Success
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:453,320117,423,657108,448,0001,137,0002,113,536
2Jun 28, 2026 12:453,325117,483,502108,626,0001,131,0002,113,536
3Jun 28, 2026 12:453,326118,090,642108,584,0001,175,0002,113,536
4Jun 28, 2026 12:453,327117,848,776108,612,0001,190,0002,113,536
5Jun 28, 2026 12:453,331117,733,635108,839,0001,110,0002,113,536
6Jun 28, 2026 12:453,332117,743,810108,829,0001,158,0002,113,536
7Jun 28, 2026 12:453,333118,102,751108,831,0001,188,0002,113,536
8Jun 28, 2026 12:453,338117,900,390109,044,0001,139,0002,113,536
9Jun 28, 2026 12:453,346118,120,464109,271,0001,152,0002,113,536