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:56Robert BurkeRobert BurkeScore: 11,806Success
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:5611,118419,749,369366,894,97202,293,760
2Jul 29, 2022 05:5611,276428,535,159372,098,23602,289,664
3Jul 29, 2022 05:5611,404440,844,168376,339,08602,285,568
4Jul 29, 2022 05:5611,723411,628,593356,868,00029,988,0002,269,184
5Jul 29, 2022 05:5611,724409,390,517354,888,00031,989,0002,535,424
6Jul 29, 2022 05:5611,789413,583,684358,033,00031,002,0002,510,848
7Jul 29, 2022 05:5611,806417,964,928356,645,00032,967,0002,510,848
8Jul 29, 2022 05:5611,846420,047,981361,920,00028,993,0002,523,136
9Jul 29, 2022 05:5611,869415,206,707356,699,00034,970,0002,510,848
10Jul 29, 2022 05:5611,927416,837,261363,634,00029,969,0002,273,280
11Jul 29, 2022 05:5612,013420,723,747363,383,00033,034,0002,404,352
12Jul 29, 2022 05:5612,068421,580,805367,229,00031,019,0002,519,040