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 10, 2023 16:12matsuoka-601matsuoka-601Score: 8,867Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 10, 2023 16:128,756319,687,324281,954,0006,998,0002,461,696
2Sep 10, 2023 16:128,782321,702,301282,806,0006,995,0002,355,200
3Sep 10, 2023 16:128,801351,587,628290,436,86902,277,376
4Sep 10, 2023 16:128,822313,116,941285,126,0006,002,0002,277,376
5Sep 10, 2023 16:128,843369,300,157291,823,02702,260,992
6Sep 10, 2023 16:128,850319,042,195286,059,0006,001,0002,400,256
7Sep 10, 2023 16:128,867315,497,383285,618,0006,990,0002,371,584
8Sep 10, 2023 16:128,890319,565,500287,351,0006,007,0002,387,968
9Sep 10, 2023 16:128,894322,689,766286,500,0006,987,0002,392,064
10Sep 10, 2023 16:128,894316,241,850286,526,0006,988,0002,338,816
11Sep 10, 2023 16:128,925318,709,784287,529,0006,988,0002,494,464
12Sep 10, 2023 16:128,930361,634,559294,700,34902,265,088