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 20, 2023 15:47Robert BurkeRobert BurkeScore: 7,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2023 15:477,000296,927,764230,988,88102,273,280
2Aug 20, 2023 15:477,004298,025,039231,119,49702,285,568
3Aug 20, 2023 15:477,079289,351,561233,591,06402,273,280
4Aug 20, 2023 15:477,411269,219,323237,560,0006,987,0002,416,640
5Aug 20, 2023 15:477,420268,579,083242,871,0001,998,0002,326,528
6Aug 20, 2023 15:477,440266,206,809241,513,0003,991,0002,367,488
7Aug 20, 2023 15:477,443268,288,608241,617,0003,993,0002,437,120
8Aug 20, 2023 15:477,512270,986,806241,896,0005,997,0002,342,912
9Aug 20, 2023 15:477,513273,820,200241,926,0005,998,0002,318,336
10Aug 20, 2023 15:477,532278,011,440243,552,0004,990,0002,334,720
11Aug 20, 2023 15:477,579270,223,921244,106,0006,002,0002,375,680
12Aug 20, 2023 15:477,679279,226,637249,411,0004,006,0002,334,720