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 listJun 17, 2023 04:14matsuoka-601matsuoka-601Score: 12,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 04:1412,115427,276,586383,806,00015,991,0002,473,984
2Jun 17, 2023 04:1412,118421,842,121381,904,00017,995,0002,420,736
3Jun 17, 2023 04:1412,138425,379,916385,567,00014,983,0002,445,312
4Jun 17, 2023 04:1412,149427,211,793383,910,00016,996,0002,445,312
5Jun 17, 2023 04:1412,219460,765,566403,232,68802,236,416
6Jun 17, 2023 04:1412,223478,775,879403,362,34102,236,416
7Jun 17, 2023 04:1412,285432,721,181388,415,00016,974,0002,445,312
8Jun 17, 2023 04:1412,309431,812,964388,224,00017,964,0002,441,216
9Jun 17, 2023 04:1412,330479,833,058406,890,79902,244,608
10Jun 17, 2023 04:1412,352433,456,844386,623,00020,979,0002,437,120
11Jun 17, 2023 04:1412,368436,106,398392,167,00015,966,0002,449,408
12Jun 17, 2023 04:1412,375431,752,292396,397,00011,981,0002,437,120