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
Apr 21, 2026 15:49olliecrowolliecrowCPPg++10.5.0Success20,883
Apr 21, 2026 15:44Charles CabergsCharles CabergsCPPg++13.3.0Success46,691+16.81 RP
Apr 21, 2026 15:14BenBenCPPclang++18.1.3Success84,861
Apr 21, 2026 09:41olliecrowolliecrowCPPg++10.5.0Error
Apr 21, 2026 09:19Charles CabergsCharles CabergsCPPg++13.3.0Success51,663
Apr 21, 2026 07:19Charles CabergsCharles CabergsCPPg++13.3.0Success50,667+11.48 RP
Apr 21, 2026 06:42limanjun99limanjun99CPPg++14.2.0Success24,892
Apr 21, 2026 06:36limanjun99limanjun99CPPg++14.2.0Success23,692
Apr 21, 2026 06:34limanjun99limanjun99CPPg++14.2.0Error
Apr 21, 2026 05:25limanjun99limanjun99CPPg++14.2.0Error
Apr 21, 2026 05:21Charles CabergsCharles CabergsCPPg++13.3.0Success57,744
Apr 21, 2026 04:33olliecrowolliecrowCPPg++10.5.0Success21,147
Apr 21, 2026 04:12limanjun99limanjun99CPPg++14.2.0Success17,320
Apr 21, 2026 03:33Charles CabergsCharles CabergsCPPg++13.3.0Success53,796+0.76 RP
Apr 20, 2026 23:51Charles CabergsCharles CabergsCPPg++13.3.0Success54,017+7.50 RP
Apr 20, 2026 23:48Taylor DettlingTaylor DettlingRUSTrust-1.95.0Success82,562+28.01 RP
Apr 20, 2026 23:46Taylor DettlingTaylor DettlingRUSTrust-1.95.0Error
Apr 20, 2026 23:44Taylor DettlingTaylor DettlingRUSTrust-1.95.0Error
Apr 20, 2026 23:43Taylor DettlingTaylor DettlingRUSTrust-1.95.0Error
Apr 20, 2026 23:40Taylor DettlingTaylor DettlingRUSTrust-1.95.0Success107,398+93.11 RP
Apr 20, 2026 22:14olliecrowolliecrowCPPg++10.5.0Success21,149
Apr 20, 2026 21:42Alexander KrivolapovAlexander KrivolapovRUSTrust-1.95.0Success23,487+36.31 RP
Apr 20, 2026 20:22Alexander KrivolapovAlexander KrivolapovRUSTrust-1.95.0Success27,887
Apr 20, 2026 20:20Charles CabergsCharles CabergsCPPg++13.3.0Success99,598
Apr 20, 2026 20:18Alexander KrivolapovAlexander KrivolapovRUSTrust-1.93.1Error
Apr 20, 2026 20:10Alexander KrivolapovAlexander KrivolapovRUSTrust-1.95.0Success26,216
Apr 20, 2026 17:23olliecrowolliecrowCPPg++13.3.0Success20,833
Apr 20, 2026 16:52BenBenCPPg++13.3.0Success68,046+14.78 RP
Apr 20, 2026 16:23BenBenCPPclang++18.1.3Success77,078
Apr 20, 2026 15:54BenBenCPPg++13.3.0Success75,844
Apr 20, 2026 15:26BenBenCPPg++13.3.0Success75,829
Apr 20, 2026 15:13BenBenCPPg++13.3.0Success75,652+5.79 RP
Apr 20, 2026 15:13BenBenRUSTrust-1.94.0Success78,463
Apr 20, 2026 14:16BenBenCPPg++13.3.0Success89,520
Apr 20, 2026 14:16BenBenRUSTrust-1.94.0Success106,729
Apr 20, 2026 13:44BenBenZIG0.14.0Success83,611
Apr 20, 2026 13:39BenBenGOgo1.26.1Success124,125
Apr 20, 2026 13:39BenBenZIG0.14.0Error
Apr 20, 2026 13:37BenBenRUSTrust-1.94.0Success79,116+0.37 RP
Apr 20, 2026 13:37BenBenCPPclang++18.1.3Success84,603
Apr 20, 2026 13:34BenBenCPPg++13.3.0Success79,346+126.03 RP
Apr 20, 2026 13:27olliecrowolliecrowZIG0.14.0Success9,655
Apr 20, 2026 13:26olliecrowolliecrowRUSTrust-1.94.0Success14,697
Apr 20, 2026 13:20olliecrowolliecrowCPPg++13.3.0Success20,373
Apr 20, 2026 12:14olliecrowolliecrowZIG0.14.0Success9,624+14.58 RP
Apr 20, 2026 12:12olliecrowolliecrowRUSTrust-1.94.0Success14,912
Apr 20, 2026 12:04olliecrowolliecrowCPPclang++18.1.3Success20,348
Apr 19, 2026 06:39olliecrowolliecrowCPPclang++18.1.3Success22,235
Apr 19, 2026 06:32limanjun99limanjun99CPPg++13.3.0Success66,008
Apr 19, 2026 06:30limanjun99limanjun99CPPg++13.3.0Error
Apr 19, 2026 06:29limanjun99limanjun99CPPg++13.3.0Error
Apr 19, 2026 06:28limanjun99limanjun99CPPg++13.3.0Error
Apr 19, 2026 06:19limanjun99limanjun99CPPg++13.3.0Success15,429
Apr 19, 2026 06:13limanjun99limanjun99CPPg++13.3.0Error
Apr 19, 2026 04:42olliecrowolliecrowCPPclang++18.1.3Success16,164
Apr 19, 2026 03:55Charles CabergsCharles CabergsCPPg++13.3.0Success62,074
Apr 19, 2026 02:48olliecrowolliecrowCPPclang++18.1.3Success22,243
Apr 18, 2026 18:34Charles CabergsCharles CabergsCPPg++13.3.0Success84,919
Apr 18, 2026 16:23Charles CabergsCharles CabergsCPPg++13.3.0Success56,631
Apr 18, 2026 14:40limanjun99limanjun99CPPg++13.3.0Success71,004
Apr 18, 2026 14:38limanjun99limanjun99CPPg++13.3.0Error
Apr 18, 2026 14:37limanjun99limanjun99CPPg++13.3.0Error
Apr 18, 2026 14:33limanjun99limanjun99CPPg++13.3.0Error
Apr 18, 2026 07:24limanjun99limanjun99CPPg++13.3.0Error
Apr 18, 2026 07:20limanjun99limanjun99CPPg++13.3.0Error
Apr 18, 2026 07:08limanjun99limanjun99CPPg++13.3.0Error
Apr 18, 2026 03:37Charles CabergsCharles CabergsCPPg++13.3.0Success56,299+17.03 RP
Apr 18, 2026 02:38olliecrowolliecrowGOgo1.26.1Success11,014
Apr 18, 2026 02:28olliecrowolliecrowCSHARP9.0.14Success13,191
Apr 17, 2026 21:42Charles CabergsCharles CabergsCPPg++13.3.0Success62,725
Apr 17, 2026 19:56Charles CabergsCharles CabergsCPPg++13.3.0Success62,268+24.78 RP
Apr 17, 2026 17:10Charles CabergsCharles CabergsCPPg++13.3.0Success73,628+135.82 RP
Apr 17, 2026 01:17olliecrowolliecrowRUSTrust-1.94.0Success14,866
Apr 16, 2026 23:50olliecrowolliecrowRUSTrust-1.94.0Success14,483
Apr 16, 2026 19:00olliecrowolliecrowRUSTrust-1.94.0Success14,808
Apr 16, 2026 18:58olliecrowolliecrowGOgo1.26.1Success11,067
Apr 16, 2026 18:49olliecrowolliecrowZIG0.14.0Success28,638
Apr 16, 2026 18:14olliecrowolliecrowCPPclang++18.1.3Success16,035
Apr 16, 2026 17:21olliecrowolliecrowCPPclang++18.1.3Success22,269
Apr 16, 2026 16:57olliecrowolliecrowCPPclang++18.1.3Success16,402
Apr 16, 2026 16:27olliecrowolliecrowCPPclang++18.1.3Success14,417
Apr 16, 2026 16:24olliecrowolliecrowCPPclang++18.1.3Success16,278
Apr 16, 2026 16:17olliecrowolliecrowCPPclang++18.1.3Success22,518
Apr 16, 2026 16:15olliecrowolliecrowCPPclang++18.1.3Success22,832
Apr 16, 2026 16:12olliecrowolliecrowCPPclang++18.1.3Success29,667
Apr 15, 2026 18:21olliecrowolliecrowZIG0.14.0Success9,754
Apr 15, 2026 15:42olliecrowolliecrowZIG0.14.0Success9,741
Apr 15, 2026 05:55olliecrowolliecrowGOgo1.26.1Success11,078
Apr 15, 2026 05:11olliecrowolliecrowGOgo1.26.1Success11,009
Apr 14, 2026 16:43Oleg SkinderevOleg SkinderevCPPg++13.3.0Success34,103
Apr 13, 2026 18:00Oleg SkinderevOleg SkinderevCPPg++13.3.0Success34,062+0.89 RP
Apr 13, 2026 17:57Oleg SkinderevOleg SkinderevCPPg++13.3.0Success34,165+165.50 RP
Apr 13, 2026 17:57Oleg SkinderevOleg SkinderevCPPg++13.3.0Success84,252
Apr 13, 2026 17:55Oleg SkinderevOleg SkinderevCPPg++13.3.0Success120,849
Apr 13, 2026 17:53Oleg SkinderevOleg SkinderevCPPg++13.3.0Success78,617+81.72 RP
Apr 13, 2026 17:39Oleg SkinderevOleg SkinderevCPPg++13.3.0Error
Apr 13, 2026 17:38Oleg SkinderevOleg SkinderevCPPg++13.3.0Error
Apr 12, 2026 09:32AdityaAdityaCPPg++13.3.0Error
Apr 11, 2026 21:45AdityaAdityaCPPg++13.3.0Success64,608+59.46 RP
Apr 11, 2026 21:42AdityaAdityaCPPg++13.3.0Error