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 7, 2026 03:10zielajzielajScore: 3,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 03:103,028125,201,25498,914,000999,0002,408,448
2Jan 7, 2026 03:103,066123,685,44199,166,0002,003,0002,404,352
3Jan 7, 2026 03:103,076122,696,467100,491,0001,004,0002,408,448
4Jan 7, 2026 03:543,079128,745,519100,607,0001,006,0002,535,424
5Jan 7, 2026 03:123,104126,188,578100,438,0002,008,0002,535,424
6Jan 7, 2026 03:123,131128,106,028102,335,0001,003,0002,404,352
7Jan 7, 2026 03:103,154126,712,711102,097,0002,001,0002,412,544
8Jan 7, 2026 03:543,157128,644,635101,181,0003,005,0002,404,352
9Jan 7, 2026 03:103,164126,145,516103,394,0001,003,0002,535,424
10Jan 7, 2026 03:103,169131,592,264103,560,0001,005,0002,412,544
11Jan 7, 2026 03:103,176135,778,383102,822,0001,996,0002,400,256
12Jan 7, 2026 03:103,215129,135,508104,095,0002,001,0002,535,424
13Jan 7, 2026 03:543,249126,035,595105,204,0002,003,0002,408,448
14Jan 7, 2026 03:103,374134,438,298109,333,0002,006,0002,408,448
15Jan 7, 2026 03:123,381141,479,448109,547,0002,010,0002,498,560