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
Jun 8, 2026 08:38anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 08:33highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 08:26anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 08:25highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 08:23anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 08:11anboto1anboto1CPPclang++20.1.2Error
Jun 8, 2026 08:08anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 08:07highloadLLMhighloadLLMCPPclang++18.1.3Success10,250+4.74 RP
Jun 8, 2026 08:02anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 08:01highloadLLMhighloadLLMCPPclang++18.1.3Success10,419
Jun 8, 2026 07:58anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 07:55highloadLLMhighloadLLMCPPg++14.2.0Error
Jun 8, 2026 07:51anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 07:48anboto1anboto1CPPg++13.3.0Error
Jun 8, 2026 07:41highloadLLMhighloadLLMCPPclang++20.1.2Success10,616
Jun 8, 2026 07:35anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 07:32highloadLLMhighloadLLMCPPclang++18.1.3Success10,385
Jun 8, 2026 07:31anboto1anboto1CPPclang++18.1.3Success5,619
Jun 8, 2026 07:22anboto1anboto1CPPclang++18.1.3Success14,060
Jun 8, 2026 07:16highloadLLMhighloadLLMCPPclang++18.1.3Success10,321
Jun 8, 2026 07:14anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 07:05anboto1anboto1CPPclang++18.1.3Success5,554
Jun 8, 2026 06:59anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:55anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:54highloadLLMhighloadLLMCPPclang++18.1.3Success10,984
Jun 8, 2026 06:50anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:46highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 06:43anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:38highloadLLMhighloadLLMCPPg++14.2.0Success11,194
Jun 8, 2026 06:36anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:32anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:23anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:20anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:18highloadLLMhighloadLLMCPPclang++18.1.3Success10,405
Jun 8, 2026 06:09anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 06:03anboto1anboto1CPPclang++18.1.3Success5,839
Jun 8, 2026 06:00anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:58anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:51anboto1anboto1CPPclang++18.1.3Success7,223
Jun 8, 2026 05:48anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:41anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:37anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:33anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:30highloadLLMhighloadLLMCPPclang++18.1.3Success10,399
Jun 8, 2026 05:24anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:20anboto1anboto1CPPclang++18.1.3Success6,780
Jun 8, 2026 05:16anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:14anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:12highloadLLMhighloadLLMCPPclang++18.1.3Success10,300+103.87 RP
Jun 8, 2026 05:10anboto1anboto1CPPclang++18.1.3Success14,563
Jun 8, 2026 05:04anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 05:01highloadLLMhighloadLLMCPPclang++18.1.3Success11,534+15.14 RP
Jun 8, 2026 05:01anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:57anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:54highloadLLMhighloadLLMCPPg++14.2.0Success11,739+59.34 RP
Jun 8, 2026 04:52anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:40highloadLLMhighloadLLMCPPg++14.2.0Success12,618+18.23 RP
Jun 8, 2026 04:40anboto1anboto1CPPclang++18.1.3Success5,527+9.77 RP
Jun 8, 2026 04:35anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:35highloadLLMhighloadLLMCPPg++14.2.0Success12,915+87.20 RP
Jun 8, 2026 04:22anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:18anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:16anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:13anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 04:09highloadLLMhighloadLLMCPPg++14.2.0Success14,673
Jun 8, 2026 04:04anboto1anboto1CPPclang++20.1.2Error
Jun 8, 2026 04:01anboto1anboto1CPPclang++18.1.3Error+89.25 RP
Jun 8, 2026 03:59highloadLLMhighloadLLMCPPg++14.2.0Success14,554+17.44 RP
Jun 8, 2026 03:58anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 03:55anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 03:51anboto1anboto1CPPclang++18.1.3Success7,543
Jun 8, 2026 03:47anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 03:41anboto1anboto1CPPclang++18.1.3Success6,060
Jun 8, 2026 03:39highloadLLMhighloadLLMCPPg++14.2.0Error
Jun 8, 2026 03:35anboto1anboto1CPPclang++18.1.3Success5,993
Jun 8, 2026 03:31anboto1anboto1CPPclang++18.1.3Success6,051
Jun 8, 2026 03:28highloadLLMhighloadLLMCPPg++14.2.0Error
Jun 8, 2026 03:25anboto1anboto1CPPclang++18.1.3Success5,869
Jun 8, 2026 03:18anboto1anboto1CPPclang++18.1.3Success5,853
Jun 8, 2026 03:15anboto1anboto1CPPclang++18.1.3Success5,847+2.92 RP
Jun 8, 2026 03:12anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 03:09anboto1anboto1CPPg++14.2.0Success6,002
Jun 8, 2026 03:07anboto1anboto1CPPclang++18.1.3Success5,857+8.70 RP
Jun 8, 2026 03:04anboto1anboto1CPPclang++20.1.2Success9,490
Jun 8, 2026 03:00anboto1anboto1CPPclang++20.1.2Error
Jun 8, 2026 02:58highloadLLMhighloadLLMCPPg++14.2.0Success16,257
Jun 8, 2026 02:57anboto1anboto1CPPclang++20.1.2Success6,258
Jun 8, 2026 02:54anboto1anboto1CPPclang++20.1.2Error
Jun 8, 2026 02:48anboto1anboto1CPPclang++20.1.2Error+31.44 RP
Jun 8, 2026 02:47highloadLLMhighloadLLMCPPg++14.2.0Success14,933+2.50 RP
Jun 8, 2026 02:43anboto1anboto1CPPclang++20.1.2Success6,075
Jun 8, 2026 02:42highloadLLMhighloadLLMCPPg++14.2.0Success14,989+0.58 RP
Jun 8, 2026 02:39anboto1anboto1CPPclang++20.1.2Success6,285
Jun 8, 2026 02:36anboto1anboto1CPPclang++20.1.2Error
Jun 8, 2026 02:33Victor MerckléVictor MerckléCPPg++13.3.0Success6,592+1.15 RP
Jun 8, 2026 02:33anboto1anboto1CPPclang++20.1.2Error
Jun 8, 2026 02:29anboto1anboto1CPPclang++20.1.2Error+638.20 RP
Jun 8, 2026 02:28Victor MerckléVictor MerckléCPPg++13.3.0Success8,856
Jun 8, 2026 02:25highloadLLMhighloadLLMCPPg++14.2.0Success15,201
Jun 8, 2026 02:24anboto1anboto1CPPclang++20.1.2Error