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 4, 2026 17:12zielajzielajScore: 3,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2026 21:433,126126,236,064101,150,0002,002,0002,273,280
2Jan 4, 2026 17:133,127126,702,165101,183,0002,003,0002,535,424
3Jan 4, 2026 17:123,137125,535,810102,505,0001,004,0002,535,424
4Jan 4, 2026 17:123,146127,504,482100,811,0002,994,0002,535,424
5Jan 4, 2026 17:123,149124,101,087102,933,000999,0002,273,280
6Jan 4, 2026 17:133,177130,562,230103,827,0001,008,0002,506,752
7Jan 4, 2026 17:133,182131,026,257104,020,0001,000,0002,420,736
8Jan 4, 2026 17:123,183129,874,508102,028,0003,000,0002,535,424
9Jan 4, 2026 21:433,211127,661,527103,961,0001,999,0002,535,424
10Jan 4, 2026 17:123,235131,353,053105,774,000997,0002,412,544
11Jan 4, 2026 21:433,256135,350,668106,441,0001,004,0002,273,280
12Jan 4, 2026 17:123,280129,502,804106,230,0002,004,0002,408,448