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 18, 2023 06:52matsuoka-601matsuoka-601Score: 12,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 18, 2023 06:5210,326407,440,066340,771,17902,252,800
2Jun 18, 2023 06:5211,820451,197,938390,059,83102,252,800
3Jun 18, 2023 06:5211,927450,829,822393,575,70102,244,608
4Jun 18, 2023 06:5212,600438,723,125405,795,0009,994,0002,326,528
5Jun 18, 2023 06:5212,701444,973,566410,146,0008,981,0002,277,376
6Jun 18, 2023 06:5212,705451,747,780410,272,0009,005,0002,277,376
7Jun 18, 2023 06:5212,712445,548,647409,522,0009,988,0002,326,528
8Jun 18, 2023 06:5212,713441,833,973410,527,0008,989,0002,420,736
9Jun 18, 2023 06:5212,722444,350,084409,824,0009,995,0002,453,504
10Jun 18, 2023 06:5212,771444,853,517411,472,0009,987,0002,293,760
11Jun 18, 2023 06:5212,785453,259,424412,931,0008,976,0002,428,928
12Jun 18, 2023 06:5212,809445,821,396412,697,0009,992,0002,449,408