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 10:16Victor MerckléVictor MerckléScore: 3,321Success
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 10:173,306116,930,718106,902,0002,219,0002,113,536
2Jun 28, 2026 10:173,314117,503,995107,115,0002,252,0002,113,536
3Jun 28, 2026 10:173,317117,273,343107,231,0002,261,0002,113,536
4Jun 28, 2026 10:173,320117,681,469107,288,0002,300,0002,113,536
5Jun 28, 2026 10:173,321117,588,836107,406,0002,219,0002,113,536
6Jun 28, 2026 10:173,321117,333,220107,380,0002,241,0002,113,536
7Jun 28, 2026 10:173,328117,518,114107,580,0002,259,0002,113,536
8Jun 28, 2026 10:173,328117,554,654107,534,0002,305,0002,113,536
9Jun 28, 2026 10:173,331118,281,523107,663,0002,272,0002,113,536