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 listSep 25, 2024 15:10Alex KentAlex KentScore: 23,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2024 13:0423,018784,912,445755,583,0003,997,0002,347,008
2Sep 25, 2024 13:0423,097792,973,295757,202,0004,994,0002,367,488
3Sep 25, 2024 13:0423,145791,833,306757,800,0005,998,0002,351,104
4Sep 25, 2024 15:1023,183794,553,600761,024,0004,000,0002,351,104
5Sep 25, 2024 13:0423,190792,176,315760,268,0004,995,0002,351,104
6Sep 25, 2024 13:0423,358800,907,073765,822,0004,998,0002,351,104
7Sep 25, 2024 15:1023,364798,427,999766,011,0005,000,0002,461,696
8Sep 25, 2024 15:1023,394797,176,198768,009,0004,000,0002,355,200
9Sep 25, 2024 13:0423,533802,591,425769,590,0006,996,0002,359,296
10Sep 25, 2024 13:0423,563809,330,278772,579,0004,997,0002,449,408
11Sep 25, 2024 13:0424,427833,550,541802,112,0003,995,0002,510,848
12Sep 25, 2024 13:0427,068917,302,043886,260,0006,994,0002,367,488