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 listSep 16, 2021 18:35Malik ShamsutdinovMalik ShamsutdinovScore: 249,049Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 16, 2021 18:35247,9518,258,281,4388,182,370,68702,256,896
2Sep 16, 2021 18:35249,0498,289,343,6588,218,603,63802,252,800
3Sep 16, 2021 18:35250,3378,333,711,7658,261,106,81902,191,360