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 16, 2023 15:26matsuoka-601matsuoka-601Score: 13,249Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 15:2613,113456,064,216413,751,00018,988,0002,469,888
2Jun 16, 2023 15:2613,152494,413,153434,015,38402,236,416
3Jun 16, 2023 15:2613,186458,752,424417,164,00017,964,0002,277,376
4Jun 16, 2023 15:2613,188458,228,191417,243,00017,967,0002,416,640
5Jun 16, 2023 15:2613,199494,256,183435,569,35802,236,416
6Jun 16, 2023 15:2613,213463,030,470417,070,00018,957,0002,445,312
7Jun 16, 2023 15:2613,249460,648,301421,235,00015,971,0002,273,280
8Jun 16, 2023 15:2613,273464,672,115422,054,00015,964,0002,400,256
9Jun 16, 2023 15:2613,317534,956,778439,457,51102,244,608
10Jun 16, 2023 15:2613,337470,351,589427,146,00012,974,0002,322,432
11Jun 16, 2023 15:2613,357472,088,470427,791,00012,993,0002,510,848
12Jun 16, 2023 15:2613,372464,877,199426,308,00014,975,0002,510,848