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 listMar 26, 2023 13:38Sergey StreminSergey StreminScore: 18,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 26, 2023 13:3818,376671,948,990606,418,37702,228,224
2Mar 26, 2023 13:3818,450682,025,774608,864,31702,232,320
3Mar 26, 2023 13:3718,517707,739,234611,057,65902,240,512
4Mar 26, 2023 13:3718,554681,333,559612,266,26402,240,512
5Mar 26, 2023 13:3818,584689,518,848613,275,85002,236,416
6Mar 26, 2023 13:3718,592671,835,526613,545,47402,228,224
7Mar 26, 2023 13:3818,686686,153,218616,637,70102,228,224
8Mar 26, 2023 13:3818,740686,079,637618,413,44102,232,320
9Mar 26, 2023 13:3818,757707,355,446618,980,98502,232,320