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 08:22Victor MerckléVictor MerckléError
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 08:230127,156,767117,992,0001,143,0002,113,536expected "1020454 ", got "1020453 "
2Jun 28, 2026 08:233,608126,769,421117,973,0001,109,0002,113,536
3Jun 28, 2026 08:233,613126,915,266118,121,0001,108,0002,113,536
4Jun 28, 2026 08:233,615126,986,659118,165,0001,148,0002,113,536
5Jun 28, 2026 08:233,616127,411,290118,058,0001,281,0002,113,536
6Jun 28, 2026 08:233,616127,228,760118,236,0001,109,0002,113,536
7Jun 28, 2026 08:233,618127,497,423118,216,0001,184,0002,113,536
8Jun 28, 2026 08:233,618127,284,465118,227,0001,171,0002,113,536
9Jun 28, 2026 08:233,618127,175,514118,291,0001,122,0002,113,536