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:59Bernard 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:5900000Error: expected "1024999 ", got "Dt*7AF AvPRwF k32r 71MFV2Hvli6X6Cr m5 bwIM5xZvu8hXM R9QRsxPuO ai#3Ntqfm Bm9OMyydML LZZ4E%Qwpiwgl% #8-ff010101010101 7 49152017 198574099 235929609 -ff010101010101 14 49152024 198574104 235929625 -10100ff01010101 19 4915...