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 listSep 3, 2023 07:20matsuoka-601matsuoka-601Score: 11,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2023 07:2010,843383,047,140349,823,0007,995,0002,322,432
2Sep 3, 2023 07:2010,876389,812,439350,905,0007,997,0002,510,848
3Sep 3, 2023 07:2010,905383,822,252350,873,0008,996,0002,281,472
4Sep 3, 2023 07:2010,959385,590,416352,657,0008,991,0002,437,120
5Sep 3, 2023 07:2010,976384,909,022354,218,0008,004,0002,428,928
6Sep 3, 2023 07:2011,007392,284,052353,225,00010,006,0002,433,024
7Sep 3, 2023 07:2011,023387,085,206355,778,0007,995,0002,437,120
8Sep 3, 2023 07:2011,057391,923,145355,896,0008,997,0002,437,120
9Sep 3, 2023 07:2011,146445,427,713367,833,89802,244,608
10Sep 3, 2023 07:2011,155395,473,295359,127,0008,978,0002,433,024
11Sep 3, 2023 07:2011,198428,346,107369,539,74102,240,512
12Sep 3, 2023 07:2011,455442,426,065378,017,37502,232,320