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 listAug 6, 2023 16:24matsuoka-601matsuoka-601Score: 14,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2023 16:2413,744522,572,228453,555,03202,187,264
2Aug 6, 2023 16:2413,748512,628,356453,678,77902,301,952
3Aug 6, 2023 16:2414,023534,577,769462,767,21502,293,760
4Aug 6, 2023 16:2414,099489,483,032358,425,000106,828,0002,502,656
5Aug 6, 2023 16:2414,113492,485,572358,799,000106,940,0002,482,176
6Aug 6, 2023 16:2414,124492,901,549345,327,000120,764,0002,383,872
7Aug 6, 2023 16:2414,138491,580,820344,676,000121,885,0002,277,376
8Aug 6, 2023 16:2414,156498,208,549360,346,000106,806,0002,506,752
9Aug 6, 2023 16:2414,402500,513,755368,424,000106,833,0002,510,848
10Aug 6, 2023 16:2414,422500,168,373369,162,000106,757,0002,502,656
11Aug 6, 2023 16:2414,454500,739,844369,209,000107,769,0002,330,624
12Aug 6, 2023 16:2414,485501,886,497373,223,000104,781,0002,269,184