Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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:56Kevin HeaveyKevin HeaveyCSHARP9.0.18Success1,545+1'314.40 RP
Sep 26, 2026 19:52Kevin HeaveyKevin HeaveyGOgo1.26.2Success1,682+414.33 RP
Sep 26, 2026 19:50Kevin HeaveyKevin HeaveyZIG0.15.1Success1,548+768.41 RP
Sep 26, 2026 19:49Kevin HeaveyKevin HeaveyRUSTrust-1.95.0Success1,615+236.02 RP
Sep 25, 2026 21:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,600
Sep 25, 2026 09:49Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,596+39.14 RP
Sep 25, 2026 09:46Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:44Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,601+46.64 RP
Sep 25, 2026 09:38Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:37Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:30Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,607+107.48 RP
Sep 25, 2026 09:25Haha ExpertHaha ExpertCPPg++10.5.0Success43,258+5.00 RP
Sep 25, 2026 09:25sazsusazsuRUSTrust-1.95.0Success109,331
Sep 25, 2026 09:23Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:22Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:21Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:20Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:19Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:19sazsusazsuRUSTrust-1.98.1Success109,258+96.53 RP
Sep 25, 2026 09:12sazsusazsuRUSTrust-1.98.1Error
Sep 25, 2026 09:03Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 09:01Kevin HeaveyKevin HeaveyCPPg++13.3.0Success1,621+6'309.26 RP
Sep 25, 2026 08:57Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 08:56Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 08:55Kevin HeaveyKevin HeaveyCPPg++13.3.0Success130,851+81.42 RP
Sep 25, 2026 08:53Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 25, 2026 08:51Kevin HeaveyKevin HeaveyCPPg++13.3.0Error
Sep 23, 2026 07:43Matthias GörgensMatthias GörgensCPPclang++19.1.1Success2,541+146.14 RP
Sep 23, 2026 07:36Matthias GörgensMatthias GörgensCPPclang++19.1.1Success2,639+2'162.77 RP
Sep 23, 2026 07:34Matthias GörgensMatthias GörgensCPPclang++19.1.1Success6,358
Sep 23, 2026 07:31Matthias GörgensMatthias GörgensCPPclang++19.1.1Success6,340
Sep 23, 2026 07:28Matthias GörgensMatthias GörgensCPPclang++19.1.1Success6,148+1'626.55 RP
Sep 19, 2026 13:33Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success311,286
Sep 19, 2026 13:28Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success7,471
Sep 15, 2026 21:05Josu San MartinJosu San MartinCPPg++13.3.0Success4,740
Sep 15, 2026 02:10Josu San MartinJosu San MartinRUSTrust-1.95.0Success3,868
Sep 15, 2026 02:08Josu San MartinJosu San MartinRUSTrust-1.92.0Success4,100
Sep 15, 2026 02:06Josu San MartinJosu San MartinCPPg++13.3.0Success4,698
Sep 15, 2026 02:02Josu San MartinJosu San MartinCPPg++13.3.0Success4,694
Sep 15, 2026 01:58Josu San MartinJosu San MartinCPPg++13.3.0Success4,692
Sep 15, 2026 01:24Josu San MartinJosu San MartinCPPg++13.3.0Success4,687
Sep 12, 2026 07:20Haha ExpertHaha ExpertCPPclang++20.1.2Success44,950
Sep 12, 2026 06:57Haha ExpertHaha ExpertCPPg++13.3.0Success44,197
Sep 12, 2026 06:55Haha ExpertHaha ExpertCPPg++13.3.0Success54,115
Sep 12, 2026 06:51Haha ExpertHaha ExpertCPPg++14.2.0Success42,686
Sep 12, 2026 06:49Haha ExpertHaha ExpertCPPg++14.2.0Success52,771
Sep 12, 2026 06:46Haha ExpertHaha ExpertCPPg++14.2.0Success42,782
Sep 12, 2026 06:44Haha ExpertHaha ExpertCPPg++14.2.0Success42,178+7.86 RP
Sep 12, 2026 06:37Haha ExpertHaha ExpertCPPg++14.2.0Success43,624+29.81 RP
Sep 12, 2026 06:28Haha ExpertHaha ExpertCPPg++14.2.0Success220,879
Sep 12, 2026 05:58Haha ExpertHaha ExpertCPPg++14.2.0Success50,646
Sep 12, 2026 05:54Haha ExpertHaha ExpertCPPg++14.2.0Success50,144+42.04 RP
Sep 12, 2026 05:52Haha ExpertHaha ExpertCPPg++14.2.0Success92,799
Sep 12, 2026 05:49Haha ExpertHaha ExpertCPPg++14.2.0Success181,642
Sep 12, 2026 05:45Haha ExpertHaha ExpertCPPg++14.2.0Success63,538+1.10 RP
Sep 12, 2026 05:42Haha ExpertHaha ExpertCPPg++14.2.0Success63,987+48.92 RP
Sep 12, 2026 05:30Haha ExpertHaha ExpertCPPg++14.2.0Success101,266
Sep 12, 2026 05:23Haha ExpertHaha ExpertCPPg++14.2.0Success93,139+65.17 RP
Sep 12, 2026 05:21Haha ExpertHaha ExpertCPPg++14.2.0Error
Sep 9, 2026 03:48Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success7,445+45.83 RP
Sep 9, 2026 02:54Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success179,131
Sep 9, 2026 02:24Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success125,552
Sep 9, 2026 01:35Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success24,411
Sep 9, 2026 00:53Andrew EpsteinAndrew EpsteinCPPg++14.2.0Success7,708+469.06 RP
Sep 8, 2026 16:42Haha ExpertHaha ExpertCPPclang++20.1.2Success536,712+5.00 RP
Sep 8, 2026 16:36Haha ExpertHaha ExpertCPPclang++20.1.2Error
Sep 8, 2026 16:33Haha ExpertHaha ExpertCPPclang++20.1.2Error
Sep 5, 2026 00:38Victor MerckléVictor MerckléCPPg++14.2.0Success1,737
Sep 5, 2026 00:10Victor MerckléVictor MerckléCPPg++14.2.0Success1,734
Sep 4, 2026 23:18Victor MerckléVictor MerckléCPPg++14.2.0Success1,726
Sep 4, 2026 23:10Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 4, 2026 15:42Victor MerckléVictor MerckléCPPg++14.2.0Success1,730
Sep 4, 2026 10:02Victor MerckléVictor MerckléCPPg++14.2.0Success1,692
Sep 4, 2026 08:53Victor MerckléVictor MerckléZIG0.16.0Error
Sep 4, 2026 07:59Victor MerckléVictor MerckléZIG0.16.0Success1,960
Sep 4, 2026 07:43Victor MerckléVictor MerckléZIG0.16.0Error+14.50 RP
Sep 4, 2026 07:07Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 1, 2026 13:55Victor MerckléVictor MerckléRUSTrust-1.95.0Success1,679+31.76 RP
Sep 1, 2026 13:54Victor MerckléVictor MerckléRUSTrust-1.95.0Error
Sep 1, 2026 13:52Victor MerckléVictor MerckléZIG0.16.0Error
Sep 1, 2026 11:41Victor MerckléVictor MerckléCPPg++14.2.0Success1,795
Sep 1, 2026 11:39Victor MerckléVictor MerckléCPPg++14.2.0Success1,766
Sep 1, 2026 11:32Victor MerckléVictor MerckléCPPg++14.2.0Success1,913
Sep 1, 2026 11:14Victor MerckléVictor MerckléCPPg++14.2.0Success1,848
Sep 1, 2026 11:12Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 1, 2026 11:07Victor MerckléVictor MerckléCPPg++14.2.0Success1,779
Sep 1, 2026 11:02Victor MerckléVictor MerckléCPPg++14.2.0Success3,641
Sep 1, 2026 10:58Victor MerckléVictor MerckléCPPg++14.2.0Success4,021
Sep 1, 2026 10:57Victor MerckléVictor MerckléCPPg++14.2.0Success4,492
Sep 1, 2026 10:53Victor MerckléVictor MerckléCPPg++14.2.0Success8,802
Sep 1, 2026 10:50Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 1, 2026 10:47Victor MerckléVictor MerckléCPPg++14.2.0Success7,207
Sep 1, 2026 10:37Victor MerckléVictor MerckléCPPg++14.2.0Success1,740
Sep 1, 2026 09:59Victor MerckléVictor MerckléCPPg++14.2.0Success1,778
Sep 1, 2026 09:25Victor MerckléVictor MerckléCPPg++14.2.0Success1,757
Sep 1, 2026 08:12Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 1, 2026 08:07Victor MerckléVictor MerckléCPPg++14.2.0Success4,606
Sep 1, 2026 08:01Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 1, 2026 07:59Victor MerckléVictor MerckléCPPg++14.2.0Error
Sep 1, 2026 07:56Victor MerckléVictor MerckléCPPg++14.2.0Error