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 29, 2022 15:33Bernard TeoBernard TeoScore: 5,081Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 15:335,043221,309,732166,403,14502,301,952
2Aug 29, 2022 15:335,059236,064,583166,961,97702,301,952
3Aug 29, 2022 15:335,060233,521,254166,985,28802,301,952
4Aug 29, 2022 15:335,061254,420,609167,019,64102,301,952
5Aug 29, 2022 15:335,062241,720,399167,032,86802,297,856
6Aug 29, 2022 15:335,065246,562,909167,144,89402,289,664
7Aug 29, 2022 15:335,067231,651,727167,215,61502,297,856
8Aug 29, 2022 15:335,081233,384,464167,687,25402,285,568
9Aug 29, 2022 15:335,082232,433,321167,697,04602,293,760
10Aug 29, 2022 15:335,101233,528,883168,348,35402,297,856
11Aug 29, 2022 15:335,112227,044,877168,689,59402,297,856
12Aug 29, 2022 15:335,115233,700,605168,783,11002,306,048
13Aug 29, 2022 15:335,147224,625,445169,855,63202,297,856
14Aug 29, 2022 15:335,157237,632,214170,164,64502,289,664
15Aug 29, 2022 15:335,362235,037,286176,953,60502,297,856