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 listJul 29, 2022 05:35Robert BurkeRobert BurkeScore: 11,923Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 05:3511,728450,298,599387,012,27902,203,648
2Jul 29, 2022 05:3511,733413,658,595353,184,00034,017,0002,428,928
3Jul 29, 2022 05:3511,830455,025,483390,387,79502,199,552
4Jul 29, 2022 05:3511,839456,195,132390,679,86102,199,552
5Jul 29, 2022 05:3511,890420,663,536361,353,00031,030,0002,424,832
6Jul 29, 2022 05:3511,898422,570,993361,663,00030,971,0002,424,832
7Jul 29, 2022 05:3511,923427,608,856361,421,00032,037,0002,469,888
8Jul 29, 2022 05:3511,925426,176,251364,556,00028,964,0002,428,928
9Jul 29, 2022 05:3511,929416,390,848360,685,00032,971,0002,428,928
10Jul 29, 2022 05:3511,978416,329,929369,244,00026,017,0002,310,144
11Jul 29, 2022 05:3511,982420,599,716358,364,00037,037,0002,424,832
12Jul 29, 2022 05:3512,053429,550,729370,767,00026,983,0002,326,528