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 25, 2023 15:09matsuoka-601matsuoka-601Score: 16,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2023 15:0916,400624,102,346541,202,63002,248,704
2Jul 25, 2023 15:0916,425572,106,185536,037,0005,989,0002,314,240
3Jul 25, 2023 15:0916,452573,116,122536,922,0005,987,0002,383,872
4Jul 25, 2023 15:0916,541574,076,088539,881,0005,987,0002,453,504
5Jul 25, 2023 15:0916,569572,363,198541,783,0004,988,0002,277,376
6Jul 25, 2023 15:0916,580570,630,683542,141,0004,992,0002,527,232
7Jul 25, 2023 15:0916,591569,988,618542,506,0004,995,0002,396,160
8Jul 25, 2023 15:0916,707627,370,412551,345,46002,252,800
9Jul 25, 2023 15:0916,784627,376,818553,863,55402,244,608
10Jul 25, 2023 15:0916,788577,570,421549,023,0004,991,0002,457,600
11Jul 25, 2023 15:0916,797578,144,543549,293,0004,993,0002,310,144
12Jul 25, 2023 15:0917,184593,427,373562,087,0004,991,0002,285,568