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 KentError
Source Code

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

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