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 listAug 27, 2022 06:56Bernard TeoBernard TeoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 27, 2022 06:5600000Error: expected "1020022 ", got "oll@J F5xmOK%9iE zl* @I7dDUk ##TAL7RY3 n3vVQ9 czh7I8%L9 4%09y9gDj FCsV9T9W 9PG4zwXiXY0Crg l7Oyf2apME-100ff0101010101 6 49152021 198574096 235929621 -101010101010101 17 49152034 198574105 235929630 -1010100ff010101 21 49...