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:34Robert BurkeRobert BurkeScore: 12,595Success
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:3412,457432,073,558385,075,00026,005,0002,367,488
2Jul 29, 2022 05:3412,498438,177,122385,405,00027,028,0002,363,392
3Jul 29, 2022 05:3412,563442,359,232384,595,00029,968,0002,269,184
4Jul 29, 2022 05:3412,567467,693,634414,708,44302,260,992
5Jul 29, 2022 05:3412,574477,164,684414,928,62002,269,184
6Jul 29, 2022 05:3412,581435,047,434380,144,00035,013,0002,285,568
7Jul 29, 2022 05:3412,595440,266,885382,670,00032,971,0002,437,120
8Jul 29, 2022 05:3412,620485,694,217416,452,04502,256,896
9Jul 29, 2022 05:3412,626441,768,369384,671,00031,972,0002,347,008
10Jul 29, 2022 05:3412,636437,426,844388,988,00027,999,0002,367,488
11Jul 29, 2022 05:3412,659446,895,559386,758,00030,980,0002,363,392
12Jul 29, 2022 05:3412,761442,350,158393,111,00028,007,0002,306,048