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:18matsuoka-601matsuoka-601Score: 11,008Success
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:1810,885384,599,487350,238,0008,980,0002,428,928
2Sep 3, 2023 07:1810,897391,659,628350,626,0008,990,0002,502,656
3Sep 3, 2023 07:1810,903386,298,047351,814,0007,995,0002,433,024
4Sep 3, 2023 07:1810,929383,972,994351,657,0008,991,0002,428,928
5Sep 3, 2023 07:1810,956386,707,540352,555,0008,988,0002,424,832
6Sep 3, 2023 07:1810,967394,910,230352,908,0008,997,0002,330,624
7Sep 3, 2023 07:1811,008387,621,333354,255,0009,006,0002,404,352
8Sep 3, 2023 07:1811,055393,561,028356,804,0007,995,0002,486,272
9Sep 3, 2023 07:1811,141435,435,463367,663,08202,240,512
10Sep 3, 2023 07:1811,148425,735,737367,889,57002,236,416
11Sep 3, 2023 07:1811,148397,685,493358,891,0008,997,0002,445,312
12Sep 3, 2023 07:1811,243443,548,316371,030,03002,236,416