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 9, 2026 21:54Victor MerckléVictor MerckléCPPg++13.3.0Success6,625
Jun 9, 2026 21:49Victor MerckléVictor MerckléCPPg++13.3.0Success9,561
Jun 9, 2026 21:44Victor MerckléVictor MerckléCPPg++13.3.0Success6,658
Jun 9, 2026 21:35Victor MerckléVictor MerckléCPPg++13.3.0Success6,750
Jun 9, 2026 21:27Victor MerckléVictor MerckléCPPg++13.3.0Success6,726
Jun 9, 2026 18:48Maya RebholzMaya RebholzCPPg++10.5.0Success41,459+2.41 RP
Jun 9, 2026 17:34Maya RebholzMaya RebholzCPPg++10.5.0Success41,877+3.86 RP
Jun 9, 2026 17:16Maya RebholzMaya RebholzCPPg++10.5.0Success42,565+177.80 RP
Jun 9, 2026 14:23Maya RebholzMaya RebholzCPPg++10.5.0Error
Jun 9, 2026 13:26Maya RebholzMaya RebholzCPPg++10.5.0Error
Jun 8, 2026 17:35highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 17:31highloadLLMhighloadLLMCPPclang++19.1.1Error
Jun 8, 2026 17:25highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 17:22chereshnya123chereshnya123CPPg++14.2.0Success282,241
Jun 8, 2026 17:20highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 17:11highloadLLMhighloadLLMCPPclang++20.1.2Error
Jun 8, 2026 17:09anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 17:03chereshnya123chereshnya123CPPg++14.2.0Success282,127
Jun 8, 2026 16:58anboto1anboto1CPPclang++18.1.3Success5,297
Jun 8, 2026 16:53anboto1anboto1CPPclang++18.1.3Success5,297
Jun 8, 2026 16:48chereshnya123chereshnya123CPPg++14.2.0Success292,766
Jun 8, 2026 16:47anboto1anboto1CPPclang++18.1.3Success5,649
Jun 8, 2026 16:40highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 16:33chereshnya123chereshnya123CPPg++14.2.0Error
Jun 8, 2026 16:31anboto1anboto1CPPclang++18.1.3Success5,302
Jun 8, 2026 16:29chereshnya123chereshnya123CPPg++14.2.0Error
Jun 8, 2026 16:29anboto1anboto1CPPclang++20.1.2Success5,347
Jun 8, 2026 16:24chereshnya123chereshnya123CPPg++14.2.0Error
Jun 8, 2026 16:24anboto1anboto1CPPclang++18.1.3Success5,626
Jun 8, 2026 16:22highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 16:21anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 16:19chereshnya123chereshnya123CPPg++14.2.0Error
Jun 8, 2026 16:07anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 16:03anboto1anboto1CPPg++13.3.0Error
Jun 8, 2026 15:48chereshnya123chereshnya123CPPg++10.5.0Error
Jun 8, 2026 15:44anboto1anboto1CPPclang++18.1.3Success5,291+63.85 RP
Jun 8, 2026 15:40anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 15:15anboto1anboto1CPPclang++18.1.3Success5,484
Jun 8, 2026 15:13highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 15:13anboto1anboto1CPPclang++20.1.2Success5,534
Jun 8, 2026 15:01highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:59anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 14:57highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:45anboto1anboto1CPPclang++18.1.3Success7,010
Jun 8, 2026 14:34anboto1anboto1CPPclang++18.1.3Success6,372
Jun 8, 2026 14:29highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:24highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:19highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:17anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 14:16highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:14anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 14:10anboto1anboto1CPPclang++18.1.3Success5,484
Jun 8, 2026 14:10highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:07anboto1anboto1CPPclang++18.1.3Success5,485
Jun 8, 2026 14:06highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:05anboto1anboto1CPPclang++18.1.3Success5,481
Jun 8, 2026 14:02highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 14:02anboto1anboto1CPPclang++18.1.3Success5,501
Jun 8, 2026 13:59highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 13:58anboto1anboto1CPPclang++18.1.3Success5,476+5.98 RP
Jun 8, 2026 13:55highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 13:42anboto1anboto1CPPclang++18.1.3Success5,494+3.31 RP
Jun 8, 2026 13:34anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 13:30anboto1anboto1CPPclang++18.1.3Success5,517
Jun 8, 2026 13:29highloadLLMhighloadLLMCPPclang++18.1.3Success8,707+172.89 RP
Jun 8, 2026 13:22anboto1anboto1CPPclang++18.1.3Success5,515
Jun 8, 2026 13:12highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 13:07anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 13:05anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 13:00chereshnya123chereshnya123CPPg++10.5.0Success318,887
Jun 8, 2026 12:59anboto1anboto1CPPclang++18.1.3Success8,627
Jun 8, 2026 12:55anboto1anboto1CPPclang++20.1.2Success8,710
Jun 8, 2026 12:50chereshnya123chereshnya123CPPg++10.5.0Success317,491
Jun 8, 2026 12:49highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 12:49chereshnya123chereshnya123CPPg++10.5.0Error
Jun 8, 2026 12:47chereshnya123chereshnya123CPPg++10.5.0Error
Jun 8, 2026 12:47anboto1anboto1CPPclang++18.1.3Success8,649
Jun 8, 2026 12:40anboto1anboto1CPPclang++18.1.3Success26,506
Jun 8, 2026 12:32anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 12:31chereshnya123chereshnya123CPPg++10.5.0Success173,138+5.96 RP
Jun 8, 2026 12:26anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 12:21chereshnya123chereshnya123CPPg++10.5.0Success193,064+51.80 RP
Jun 8, 2026 12:21anboto1anboto1CPPclang++18.1.3Success6,034
Jun 8, 2026 12:15highloadLLMhighloadLLMCPPclang++20.1.2Success11,144
Jun 8, 2026 12:14anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 12:12highloadLLMhighloadLLMCPPg++14.2.0Success10,801
Jun 8, 2026 12:07highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 12:07anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 12:04anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 12:04highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 12:01highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 11:59anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 11:58highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 11:57anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 11:55highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 11:53highloadLLMhighloadLLMCPPclang++18.1.3Error
Jun 8, 2026 11:51anboto1anboto1CPPclang++18.1.3Error
Jun 8, 2026 11:48highloadLLMhighloadLLMCPPclang++18.1.3Success10,836
Jun 8, 2026 11:47anboto1anboto1CPPclang++18.1.3Success11,858
Jun 8, 2026 11:44highloadLLMhighloadLLMCPPclang++18.1.3Error