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 30, 2022 22:42wireless anonwireless anonError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2022 22:4300000Error: expected "1022781 ", got "1022753"
2Aug 30, 2022 22:43154,7095,179,324,8005,105,383,56202,191,360
3Aug 30, 2022 22:43155,5425,193,899,4415,132,875,99202,199,552
4Aug 30, 2022 22:43156,2465,223,624,6425,156,125,57102,199,552
5Aug 30, 2022 22:43173,7745,802,571,4405,734,552,73702,195,456
6Aug 30, 2022 22:43174,5155,828,685,0195,758,988,99602,199,552
7Aug 30, 2022 22:43174,8165,831,826,9255,768,929,39802,191,360
8Aug 30, 2022 22:42212,4037,071,844,2017,009,315,13202,207,744
9Aug 30, 2022 22:42213,7337,130,103,4797,053,192,27802,203,648
10Aug 30, 2022 22:42214,2847,151,450,0027,071,366,87702,199,552