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, 2024 03:01matsuoka-601matsuoka-601Score: 8,284Success
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, 2024 03:018,188300,742,124254,200,00016,012,0002,351,104
2Jun 17, 2024 03:018,219310,429,720252,204,00019,015,0002,420,736
3Jun 17, 2024 03:018,241295,930,135253,967,00017,997,0002,306,048
4Jun 17, 2024 03:018,254295,699,505251,433,00020,952,0002,502,656
5Jun 17, 2024 03:018,257295,657,465251,516,00020,959,0002,306,048
6Jun 17, 2024 03:018,260296,635,330254,601,00017,971,0002,310,144
7Jun 17, 2024 03:018,284304,507,261255,401,00017,957,0002,412,544
8Jun 17, 2024 03:018,297300,819,221252,819,00020,985,0002,314,240
9Jun 17, 2024 03:018,419302,038,742260,826,00016,988,0002,342,912
10Jun 17, 2024 03:018,492339,682,991280,243,95902,252,800
11Jun 17, 2024 03:018,505342,799,383280,676,49202,236,416
12Jun 17, 2024 03:018,586352,728,121283,352,55902,232,320