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 26, 2022 12:04Bernard TeoBernard TeoScore: 11,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2022 12:0410,949424,420,150361,310,82502,281,472
2Aug 26, 2022 12:0410,969427,138,571361,982,83202,281,472
3Aug 26, 2022 12:0410,982430,297,434362,411,04702,281,472
4Aug 26, 2022 12:0410,984427,097,231362,483,68302,281,472
5Aug 26, 2022 12:0411,037425,658,938364,228,62702,269,184
6Aug 26, 2022 12:0411,052420,074,657364,728,65502,285,568
7Aug 26, 2022 12:0411,055420,052,855364,818,57402,281,472
8Aug 26, 2022 12:0411,067432,952,309365,196,55002,281,472
9Aug 26, 2022 12:0411,105423,315,045366,462,10802,285,568