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 21, 2026 03:14Josu San MartinJosu San MartinScore: 4,313Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2026 03:204,298161,359,550140,831,000998,0002,289,664
2Feb 21, 2026 03:214,299162,968,169140,861,000999,0002,514,944
3Feb 21, 2026 03:204,301166,738,604139,939,0001,999,0002,400,256
4Feb 21, 2026 03:164,301169,028,737139,932,0001,999,0002,289,664
5Feb 21, 2026 03:214,303172,421,679140,013,0002,000,0002,289,664
6Feb 21, 2026 03:204,303165,901,765139,990,0001,999,0002,289,664
7Feb 21, 2026 03:234,303164,573,977141,012,0001,000,0002,289,664
8Feb 21, 2026 03:204,305165,198,549140,072,0002,001,0002,392,064
9Feb 21, 2026 03:224,307169,002,950140,136,0002,001,0002,289,664
10Feb 21, 2026 03:204,307166,886,905139,119,0003,002,0002,289,664
11Feb 21, 2026 03:194,307175,375,424141,119,0001,000,0002,289,664
12Feb 21, 2026 03:254,307166,190,289140,132,0002,001,0002,289,664
13Feb 21, 2026 03:194,308167,447,228141,163,0001,001,0002,289,664
14Feb 21, 2026 03:264,308165,587,188139,174,0003,003,0002,289,664
15Feb 21, 2026 03:164,309169,945,358139,203,0003,004,0002,289,664
16Feb 21, 2026 03:204,309168,527,475140,207,0002,002,0002,289,664
17Feb 21, 2026 03:204,309166,395,593141,195,0001,001,0002,289,664
18Feb 21, 2026 03:184,310167,274,445141,235,0001,001,0002,289,664
19Feb 21, 2026 03:204,310169,245,718140,223,0002,003,0002,289,664
20Feb 21, 2026 03:194,311166,117,878142,268,00002,293,760
21Feb 21, 2026 03:164,312168,192,856141,289,0001,002,0002,523,136
22Feb 21, 2026 03:204,312165,823,691142,283,00002,396,160
23Feb 21, 2026 03:244,312167,744,651142,293,00002,289,664
24Feb 21, 2026 02:014,313170,172,585142,327,00002,404,352
25Feb 21, 2026 03:264,313166,315,928140,336,0002,004,0002,289,664
26Feb 21, 2026 03:244,313165,938,966140,312,0002,004,0002,289,664
27Feb 21, 2026 03:224,313170,369,192142,314,00002,289,664
28Feb 21, 2026 03:234,313167,160,507141,339,0001,002,0002,289,664
29Feb 21, 2026 03:254,314167,665,744140,354,0002,005,0002,289,664
30Feb 21, 2026 03:194,314164,851,715141,353,0001,002,0002,392,064
31Feb 21, 2026 03:164,314171,199,184141,375,0001,002,0002,404,352
32Feb 21, 2026 03:194,315174,714,905140,389,0002,005,0002,289,664
33Feb 21, 2026 03:194,315169,428,653142,399,00002,400,256
34Feb 21, 2026 03:254,316174,262,012141,431,0001,003,0002,400,256
35Feb 21, 2026 03:264,316174,552,916141,417,0001,002,0002,289,664
36Feb 21, 2026 03:214,316169,307,110140,414,0002,005,0002,281,472
37Feb 21, 2026 03:164,316172,449,356139,431,0003,009,0002,392,064
38Feb 21, 2026 02:014,316168,099,952142,432,00002,289,664
39Feb 21, 2026 03:184,317168,834,375141,456,000996,0002,289,664
40Feb 21, 2026 03:184,317174,468,966141,447,0001,003,0002,510,848
41Feb 21, 2026 03:244,317174,589,653140,443,0002,006,0002,412,544
42Feb 21, 2026 02:014,318169,240,161142,499,00002,289,664
43Feb 21, 2026 03:164,324169,407,905139,699,0002,993,0002,289,664
44Feb 21, 2026 03:134,324168,423,146141,682,000997,0002,396,160
45Feb 21, 2026 03:134,328165,866,964140,813,0001,997,0002,400,256
46Feb 21, 2026 03:234,332167,509,047141,971,000999,0002,289,664
47Feb 21, 2026 03:134,337163,988,772140,107,0003,002,0002,396,160
48Feb 21, 2026 03:224,346173,317,265141,405,0002,005,0002,289,664
49Feb 21, 2026 03:144,353173,332,636141,664,0001,995,0002,289,664
50Feb 21, 2026 03:144,377174,035,590143,444,0001,003,0002,289,664
51Feb 21, 2026 03:144,394173,311,163143,013,0002,000,0002,482,176