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
Back to listFeb 23, 2026 13:21Josu San MartinJosu San MartinScore: 4,088Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2026 03:374,058158,747,951131,929,0001,998,0002,404,352
2Mar 18, 2026 01:254,066155,693,650132,184,0002,002,0002,400,256
3Feb 24, 2026 02:214,067157,853,017133,223,0001,001,0002,293,760
4Mar 17, 2026 03:374,067162,507,298132,207,0002,003,0002,289,664
5Feb 24, 2026 02:214,071155,221,008133,335,0001,002,0002,293,760
6Mar 17, 2026 03:374,071162,090,253134,354,00002,387,968
7Mar 18, 2026 01:254,072156,139,391133,369,0001,002,0002,392,064
8Feb 24, 2026 02:214,072160,381,522133,370,0001,002,0002,400,256
9Feb 24, 2026 12:474,072166,674,781134,392,00002,293,760
10Feb 24, 2026 12:474,072154,898,710133,387,0001,002,0002,293,760
11Mar 17, 2026 03:374,072161,076,968133,367,0001,002,0002,400,256
12Feb 24, 2026 12:474,073164,982,645133,421,0001,003,0002,404,352
13Mar 17, 2026 03:374,074161,816,780133,428,0001,003,0002,289,664
14Mar 17, 2026 03:374,075164,626,857134,469,00002,289,664
15Feb 24, 2026 02:214,075160,132,297133,466,0001,003,0002,392,064
16Feb 21, 2026 05:444,076162,618,121134,517,00002,400,256
17Feb 24, 2026 12:474,076161,004,482134,512,00002,387,968
18Feb 24, 2026 12:474,076159,156,631133,520,0001,003,0002,293,760
19Mar 18, 2026 01:254,076164,138,999134,511,00002,289,664
20Mar 17, 2026 03:374,076162,833,302134,504,00002,396,160
21Feb 24, 2026 02:214,077164,238,604134,527,00002,396,160
22Feb 24, 2026 02:214,079163,104,117132,629,0001,994,0002,293,760
23Feb 21, 2026 13:384,081164,929,485133,660,000997,0002,293,760
24Feb 24, 2026 02:214,081158,527,277133,669,000997,0002,514,944
25Feb 22, 2026 04:234,081165,551,259133,687,000997,0002,293,760
26Feb 22, 2026 04:234,081163,318,209133,677,000997,0002,392,064
27Feb 22, 2026 04:234,081160,109,894133,670,000997,0002,392,064
28Feb 24, 2026 02:214,081168,069,620132,689,0001,995,0002,400,256
29Feb 24, 2026 02:214,081166,526,964133,692,000997,0002,293,760
30Feb 21, 2026 05:444,081162,677,372133,677,000997,0002,301,952
31Feb 24, 2026 12:474,081170,147,786132,690,0001,995,0002,396,160
32Feb 21, 2026 13:384,081159,818,276133,683,000997,0002,404,352
33Feb 21, 2026 13:384,081160,890,119132,678,0001,995,0002,293,760
34Feb 21, 2026 13:384,081163,442,858132,665,0001,994,0002,396,160
35Feb 24, 2026 12:474,082166,305,536132,697,0001,995,0002,293,760
36Mar 17, 2026 03:374,082159,704,767133,718,000997,0002,392,064
37Feb 21, 2026 05:444,082160,996,566132,705,0001,995,0002,396,160
38Feb 21, 2026 05:444,082158,754,747132,702,0001,995,0002,301,952
39Feb 21, 2026 13:384,083158,622,461133,756,000998,0002,396,160
40Feb 22, 2026 04:234,084157,912,026133,778,000998,0002,293,760
41Feb 22, 2026 04:234,084158,765,054132,780,0001,996,0002,293,760
42Feb 21, 2026 13:384,084158,267,915132,765,0001,996,0002,293,760
43Feb 22, 2026 04:234,085163,030,120133,793,000998,0002,293,760
44Feb 22, 2026 04:234,085161,915,658132,793,0001,996,0002,400,256
45Feb 21, 2026 05:444,085162,059,430132,812,0001,997,0002,514,944
46Feb 21, 2026 05:444,085156,820,060133,795,000998,0002,301,952
47Feb 21, 2026 05:444,086157,212,122132,828,0001,997,0002,301,952
48Feb 24, 2026 12:474,087158,586,884132,882,0001,998,0002,404,352
49Feb 21, 2026 13:384,087158,702,592133,864,000998,0002,293,760
50Mar 17, 2026 04:554,088163,380,135133,917,000999,0002,289,664
51Feb 22, 2026 16:494,088156,861,281132,892,0001,998,0002,293,760
52Feb 21, 2026 13:384,088157,727,590132,891,0001,998,0002,392,064
53Feb 21, 2026 05:444,088157,885,089133,921,000999,0002,396,160
54Feb 21, 2026 05:444,089161,450,897132,936,0001,999,0002,301,952
55Feb 22, 2026 16:494,089157,680,452133,922,000999,0002,293,760
56Mar 17, 2026 04:554,089159,936,941132,948,0001,999,0002,396,160
57Feb 22, 2026 04:234,090161,065,700133,972,000999,0002,293,760
58Feb 22, 2026 16:494,091160,740,364133,992,000999,0002,293,760
59Feb 21, 2026 05:444,091157,798,059134,005,0001,000,0002,301,952
60Feb 21, 2026 05:444,091156,863,830133,993,000999,0002,396,160
61Feb 21, 2026 05:444,091159,440,353133,015,0002,000,0002,400,256
62Feb 21, 2026 05:444,092160,222,456133,024,0002,000,0002,301,952
63Feb 22, 2026 16:494,092156,412,605134,032,0001,000,0002,400,256
64Feb 21, 2026 05:444,092162,321,675134,031,0001,000,0002,301,952
65Feb 21, 2026 05:444,092158,132,531134,030,0001,000,0002,301,952
66Mar 17, 2026 04:554,094157,720,878133,096,0002,001,0002,400,256
67Feb 22, 2026 16:494,095161,464,435133,127,0002,001,0002,392,064
68Feb 22, 2026 04:234,096154,911,293134,153,0001,001,0002,293,760
69Feb 22, 2026 16:494,096162,725,628134,153,0001,001,0002,387,968
70Feb 24, 2026 12:474,096164,342,111134,168,0001,001,0002,396,160
71Feb 22, 2026 16:494,098157,596,306133,216,0002,003,0002,293,760
72Feb 22, 2026 16:494,098158,246,148133,234,0002,003,0002,293,760
73Feb 21, 2026 05:444,100158,582,541135,284,00002,293,760
74Feb 23, 2026 00:304,100157,775,500134,296,0001,002,0002,293,760
75Feb 21, 2026 05:444,101160,261,755135,348,00002,293,760
76Feb 23, 2026 00:304,102164,253,758135,376,00002,293,760
77Feb 23, 2026 00:304,104159,606,442134,423,0001,003,0002,293,760
78Feb 23, 2026 00:304,111168,620,094134,667,000997,0002,400,256
79Feb 21, 2026 05:444,112164,881,500134,689,000997,0002,301,952
80Feb 22, 2026 16:494,115158,750,359133,813,0001,997,0002,400,256
81Feb 23, 2026 00:304,116158,979,478134,842,000998,0002,293,760
82Feb 22, 2026 14:274,119164,174,966134,923,000999,0002,396,160
83Feb 23, 2026 13:534,120161,696,179133,976,0001,999,0002,293,760
84Feb 22, 2026 14:274,120158,787,358133,955,0001,999,0002,293,760
85Feb 22, 2026 14:274,121162,225,847135,992,00002,293,760
86Feb 23, 2026 13:534,121157,903,770134,997,000999,0002,387,968
87Feb 22, 2026 14:274,121156,984,313134,981,000999,0002,396,160
88Feb 22, 2026 14:274,122162,484,066135,020,0001,000,0002,293,760
89Feb 23, 2026 13:214,122158,754,904135,017,0001,000,0002,404,352
90Feb 22, 2026 14:274,127161,550,039135,200,0001,001,0002,293,760
91Feb 23, 2026 13:534,129166,859,887134,248,0002,003,0002,396,160
92Feb 22, 2026 14:274,129161,130,088136,258,00002,293,760
93Feb 22, 2026 14:274,130159,804,319136,292,00002,293,760
94Feb 22, 2026 14:274,131165,140,288136,334,00002,396,160
95Feb 23, 2026 13:214,134166,154,877135,435,0001,003,0002,404,352
96Feb 23, 2026 13:214,135162,880,659135,456,0001,003,0002,396,160
97Feb 23, 2026 00:304,183158,356,453137,050,0001,000,0002,514,944
98Mar 17, 2026 03:374,193165,131,026137,384,000995,0002,289,664
99Feb 21, 2026 13:384,242161,719,007137,991,0001,999,0002,400,256