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 listDec 22, 2023 06:22Sergey StreminSergey StreminScore: 18,690Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 06:2218,141657,316,051598,647,22202,236,416
2Dec 22, 2023 06:2218,176656,257,783599,802,79302,228,224
3Dec 22, 2023 06:2218,428679,506,541608,133,95402,244,608
4Dec 22, 2023 06:2218,566640,079,501596,673,00015,991,0002,465,792
5Dec 22, 2023 06:2218,574641,071,150595,933,00016,998,0002,461,696
6Dec 22, 2023 06:2218,678644,129,171603,397,00012,987,0002,351,104
7Dec 22, 2023 06:2218,690641,693,952601,791,00014,994,0002,461,696
8Dec 22, 2023 06:2218,699641,752,283601,068,00016,001,0002,326,528
9Dec 22, 2023 06:2218,704643,424,297601,235,00016,006,0002,478,080
10Dec 22, 2023 06:2218,734648,422,901602,228,00016,006,0002,416,640
11Dec 22, 2023 06:2218,739651,590,807596,414,00021,978,0002,465,792
12Dec 22, 2023 06:2218,774650,425,416601,556,00017,986,0002,301,952