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
Date AuthorLanguageStatus Score
Sep 26, 2026 19:44Kevin HeaveyKevin HeaveyCSHARP9.0.18Success2,781+325.72 RP
Sep 26, 2026 19:41Kevin HeaveyKevin HeaveyGOgo1.26.2Success2,795+287.26 RP
Sep 26, 2026 19:39Kevin HeaveyKevin HeaveyZIG0.15.1Success2,783+318.85 RP
Sep 26, 2026 19:36Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success2,798+310.27 RP
Sep 25, 2026 21:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Success2,765+15.66 RP
Sep 25, 2026 15:07Mark KorneychikMark KorneychikRUSTrust-1.98.1Success86,269+115.92 RP
Sep 25, 2026 08:43Kevin HeaveyKevin HeaveyCPPg++13.3.0Success2,771
Sep 25, 2026 08:38Kevin HeaveyKevin HeaveyCPPg++13.3.0Success2,771+190.20 RP
Sep 25, 2026 08:27Kevin HeaveyKevin HeaveyCPPg++13.3.0Success2,846+156.23 RP
Sep 25, 2026 08:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Success2,940+501.13 RP
Sep 24, 2026 23:31Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 24, 2026 23:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Success3,448+119.36 RP
Sep 24, 2026 23:09Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 24, 2026 22:37Kevin HeaveyKevin HeaveyCPPg++13.3.0Success3,596+78.90 RP
Sep 24, 2026 21:23Kevin HeaveyKevin HeaveyCPPg++13.3.0Success3,701+2'701.97 RP
Sep 24, 2026 19:13Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 24, 2026 19:09Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 23, 2026 07:12Matthias GörgensMatthias GörgensCPPclang++19.1.1Success43,316
Sep 23, 2026 06:24Matthias GörgensMatthias GörgensCPPclang++19.1.1Success5,424
Sep 23, 2026 06:22Matthias GörgensMatthias GörgensCPPclang++19.1.1Success45,259
Sep 23, 2026 06:19Matthias GörgensMatthias GörgensCPPclang++19.1.1Success9,540
Sep 23, 2026 06:16Matthias GörgensMatthias GörgensCPPclang++19.1.1Success5,272+9.66 RP
Sep 23, 2026 06:14Matthias GörgensMatthias GörgensCPPclang++19.1.1Success75,319
Sep 23, 2026 06:11Matthias GörgensMatthias GörgensCPPclang++19.1.1Success9,143
Sep 23, 2026 06:07Matthias GörgensMatthias GörgensCPPclang++19.1.1Success86,292
Sep 23, 2026 06:04Matthias GörgensMatthias GörgensCPPclang++19.1.1Success87,132
Sep 23, 2026 06:01Matthias GörgensMatthias GörgensCPPclang++19.1.1Success44,732
Sep 23, 2026 05:58Matthias GörgensMatthias GörgensCPPclang++19.1.1Success41,792
Sep 23, 2026 05:56Matthias GörgensMatthias GörgensCPPclang++19.1.1Success5,299+451.40 RP
Sep 23, 2026 05:52Matthias GörgensMatthias GörgensCPPg++14.2.0Success98,952
Sep 23, 2026 05:46Matthias GörgensMatthias GörgensCPPg++14.2.0Success83,909
Sep 22, 2026 18:37Matthias GörgensMatthias GörgensCPPclang++19.1.1Success6,987
Sep 22, 2026 18:36Matthias GörgensMatthias GörgensCPPclang++19.1.1Success6,965+40.66 RP
Sep 22, 2026 18:33Matthias GörgensMatthias GörgensCPPg++14.2.0Success7,180
Sep 22, 2026 18:31Matthias GörgensMatthias GörgensCPPg++14.2.0Success7,168+423.27 RP
Sep 22, 2026 18:12Matthias GörgensMatthias GörgensCPPg++14.2.0Success61,802
Sep 22, 2026 17:51Matthias GörgensMatthias GörgensCPPg++14.2.0Success10,290+28.42 RP
Sep 22, 2026 17:43Matthias GörgensMatthias GörgensCPPg++14.2.0Success10,600+10.13 RP
Sep 22, 2026 17:42Matthias GörgensMatthias GörgensCPPg++14.2.0Success10,715+21.78 RP
Sep 22, 2026 17:38Matthias GörgensMatthias GörgensCPPg++11.5.0Success10,971+5.70 RP
Sep 22, 2026 17:36Matthias GörgensMatthias GörgensCPPg++10.5.0Success11,060
Sep 22, 2026 17:35Matthias GörgensMatthias GörgensCPPg++10.5.0Success11,489
Sep 22, 2026 17:35Matthias GörgensMatthias GörgensCPPclang++19.1.1Success11,069
Sep 22, 2026 17:32Matthias GörgensMatthias GörgensCPPclang++19.1.1Success11,040+905.80 RP
Sep 19, 2026 13:09Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success5,704+4.90 RP
Sep 19, 2026 13:05Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success5,859
Sep 19, 2026 13:04Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success52,058
Sep 19, 2026 13:03Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success5,720+337.22 RP
Sep 19, 2026 12:58Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success53,709
Sep 19, 2026 12:57Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success7,151
Sep 19, 2026 12:57Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success7,087+19.05 RP
Sep 19, 2026 12:53Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success60,467
Sep 18, 2026 19:32Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success71,501
Sep 18, 2026 19:30Andrew EpsteinAndrew EpsteinCPPclang++20.1.2Success7,184+13.43 RP
Sep 18, 2026 19:28Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success71,555
Sep 18, 2026 19:27Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success7,254+771.35 RP
Sep 18, 2026 19:24Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success64,768
Sep 18, 2026 19:21Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success64,028
Sep 18, 2026 19:12Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success68,421
Sep 18, 2026 19:01Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success68,671
Sep 18, 2026 18:58Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success68,131
Sep 18, 2026 18:53Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success141,431
Sep 18, 2026 18:49Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success73,475
Sep 18, 2026 18:48Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success72,924
Sep 18, 2026 18:39Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success82,156
Sep 18, 2026 18:26Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success64,833
Sep 18, 2026 18:22Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success66,454
Sep 18, 2026 18:17Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success64,155
Sep 18, 2026 18:15Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success74,141
Sep 18, 2026 18:01Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success88,201
Sep 18, 2026 17:57Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success72,543
Sep 18, 2026 17:54Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success71,745
Sep 18, 2026 17:52Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success24,636
Sep 18, 2026 17:48Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success85,468
Sep 18, 2026 17:42Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success93,917
Sep 18, 2026 17:40Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success73,135
Sep 18, 2026 17:26Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success536,833
Sep 18, 2026 17:19Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success506,108
Sep 18, 2026 16:57Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success283,703
Sep 18, 2026 16:49Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success282,466
Sep 16, 2026 00:28Josu San MartinJosu San MartinCPPg++14.2.0Success3,604
Sep 15, 2026 22:26Josu San MartinJosu San MartinCPPg++14.2.0Success3,369
Sep 15, 2026 22:22Josu San MartinJosu San MartinCPPg++14.2.0Success4,041
Sep 15, 2026 03:49Josu San MartinJosu San MartinCPPg++14.2.0Success3,389
Sep 14, 2026 09:04Haha ExpertHaha ExpertCPPg++14.2.0Success47,127+3.85 RP
Sep 11, 2026 11:52Haha ExpertHaha ExpertCPPg++10.5.0Success48,799
Sep 11, 2026 11:41Haha ExpertHaha ExpertCPPg++10.5.0Success50,000
Sep 11, 2026 11:32Haha ExpertHaha ExpertCPPg++10.5.0Success47,999+58.87 RP
Sep 11, 2026 11:24Haha ExpertHaha ExpertCPPg++10.5.0Success68,045
Sep 11, 2026 11:21Haha ExpertHaha ExpertCPPg++10.5.0Success66,906+0.65 RP
Sep 11, 2026 11:12Haha ExpertHaha ExpertCPPg++10.5.0Success69,202
Sep 11, 2026 10:56Haha ExpertHaha ExpertCPPg++10.5.0Success67,198+5.43 RP
Sep 11, 2026 10:51Haha ExpertHaha ExpertCPPg++10.5.0Success69,745+2.28 RP
Sep 11, 2026 10:37Haha ExpertHaha ExpertCPPg++10.5.0Success70,870+10.33 RP
Sep 11, 2026 10:35Haha ExpertHaha ExpertCPPclang++20.1.2Success76,699
Sep 11, 2026 10:31Haha ExpertHaha ExpertCPPclang++20.1.2Success76,469+15.46 RP
Sep 10, 2026 16:24m-0451m-0451CPPclang++20.1.2Success48,391
Sep 10, 2026 16:14m-0451m-0451CPPclang++20.1.2Success48,368+1.24 RP
Sep 10, 2026 16:08m-0451m-0451CPPclang++20.1.2Success48,734
Sep 10, 2026 16:07m-0451m-0451CPPclang++20.1.2Success48,661+0.58 RP