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 21, 2022 16:56Sergey StreminSergey StreminScore: 19,045Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2021 17:2718,879703,532,851623,005,39402,269,184
2Aug 21, 2022 16:5618,910685,721,283624,040,69802,265,088
3Nov 10, 2021 17:2818,962691,070,363625,760,14902,273,280
4Nov 10, 2021 17:2819,022701,836,203627,725,18002,273,280
5Nov 10, 2021 17:2719,045706,131,406628,478,73302,269,184
6Nov 10, 2021 17:2819,063687,221,174629,068,32202,269,184
7Aug 21, 2022 16:5619,097692,524,222630,206,69902,281,472
8Nov 10, 2021 17:2719,189699,523,538633,224,39802,277,376
9Aug 21, 2022 16:5619,317694,230,245637,463,92102,269,184