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 2, 2026 09:56zielajzielajScore: 3,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 09:063,358131,007,303108,824,0001,996,0002,416,640
2Jan 2, 2026 09:063,376131,736,798108,383,0003,010,0002,535,424
3Jan 2, 2026 09:063,404136,546,218110,336,0002,006,0002,334,720
4Jan 2, 2026 09:063,405136,274,059111,350,0001,003,0002,424,832
5Jan 2, 2026 09:023,417136,990,248111,753,000997,0002,424,832
6Jan 2, 2026 09:063,417140,024,328110,751,0001,995,0002,535,424
7Jan 2, 2026 09:033,425136,814,952111,040,0002,000,0002,412,544
8Jan 2, 2026 09:063,427139,741,360111,103,0002,001,0002,273,280
9Jan 2, 2026 09:033,442140,340,098113,571,00002,424,832
10Jan 2, 2026 09:023,448137,607,002113,794,00002,420,736
11Jan 2, 2026 09:563,453141,444,384111,955,0001,999,0002,420,736
12Jan 2, 2026 09:053,455137,037,717113,002,0001,000,0002,535,424
13Jan 2, 2026 09:033,461134,605,337113,226,0001,002,0002,416,640
14Jan 2, 2026 09:053,466137,001,650112,369,0002,006,0002,416,640
15Jan 2, 2026 09:053,488139,027,431112,117,0003,003,0002,424,832
16Jan 2, 2026 09:063,505142,140,747114,655,000997,0002,535,424
17Jan 2, 2026 09:063,527144,074,277115,396,0001,003,0002,424,832
18Jan 2, 2026 09:563,536141,215,992115,686,000997,0002,535,424
19Jan 2, 2026 09:023,548142,607,210115,098,0002,001,0002,531,328
20Jan 2, 2026 09:063,569137,962,427116,789,000998,0002,273,280
21Jan 2, 2026 09:563,652143,333,653119,523,000996,0002,420,736