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 07:00Bernard 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 07:0000000Error: expected "1020308 ", got "bhbYWL ZeK2JUmvtjUNB CF9xvfzr7b fRyGFH6zmcD W*C#MMi2D# 63TnkRO2wW IIUj0mT5 0NfzFU 7vHbtPhBi@ftdLg KEffffffffffff 7 49152029 198574090 235929627 ffffffffffffffff 21 49152042 198574103 235929633 ffffffffffffffff 32 491520...
2Aug 27, 2022 07:0100000Error: expected "1020264 ", got "yJ87PwEGScG1IG Erk%mFjbF45K TwMnlRHSj 2@c07ydzR A7tRG5E O6njCl@139DmnZa wpBz@BtOEAA TkHyW0Owpksp 78*ffffffffffffffff 15 49152025 198574096 235929615 ffffffffffffffff 28 49152029 198574101 235929629 ffffffffffffffff 38 4...