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 listJan 10, 2026 22:02zielajzielajScore: 3,150Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 22:053,070127,864,533100,310,0001,003,0002,404,352
2Jan 10, 2026 23:333,084124,433,170100,791,000997,0002,535,424
3Jan 10, 2026 22:053,085128,204,72998,796,0002,993,0002,404,352
4Jan 10, 2026 22:053,095123,053,713101,148,0001,001,0002,416,640
5Jan 10, 2026 23:333,116125,361,879101,815,000998,0002,510,848
6Jan 10, 2026 22:053,117128,203,980100,866,0001,997,0002,535,424
7Jan 10, 2026 22:033,119124,319,09899,937,0002,998,0002,416,640
8Jan 10, 2026 22:033,125123,170,906100,125,0003,003,0002,412,544
9Jan 10, 2026 22:093,125128,748,247101,125,0002,002,0002,535,424
10Jan 10, 2026 22:053,140127,598,801103,621,00002,535,424
11Jan 10, 2026 22:023,150123,245,505100,948,0002,998,0002,412,544
12Jan 10, 2026 23:333,153126,485,678102,063,0002,001,0002,400,256
13Jan 10, 2026 22:093,154128,535,648103,073,0001,000,0002,535,424
14Jan 10, 2026 22:033,158131,678,188102,216,0002,004,0002,420,736
15Jan 10, 2026 22:053,176124,106,647102,802,0001,996,0002,408,448
16Jan 10, 2026 22:093,176132,770,901103,798,000998,0002,535,424
17Jan 10, 2026 22:023,183129,527,969102,048,0003,001,0002,289,664
18Jan 10, 2026 22:023,206133,736,262103,791,0001,995,0002,371,584
19Jan 10, 2026 22:053,211129,586,599102,971,0002,999,0002,535,424
20Jan 10, 2026 22:053,227134,694,284105,502,0001,004,0002,535,424
21Jan 10, 2026 22:053,358135,603,970108,803,0001,996,0002,535,424