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 11, 2026 00:09zielajzielajScore: 3,115Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2026 00:022,995119,241,14496,818,0002,017,0002,404,352
2Jan 11, 2026 00:023,027124,720,04996,908,0002,997,0002,535,424
3Jan 10, 2026 23:563,043119,587,29297,420,0003,013,0002,535,424
4Jan 10, 2026 23:563,050126,638,97099,659,0001,006,0002,535,424
5Jan 10, 2026 23:563,052124,449,76898,736,0001,994,0002,420,736
6Jan 11, 2026 00:093,055131,315,92999,808,000998,0002,412,544
7Jan 11, 2026 00:023,056125,260,51399,833,0001,008,0002,535,424
8Jan 10, 2026 23:563,065121,100,09499,140,0002,002,0002,535,424
9Jan 11, 2026 00:023,068119,829,951100,227,0001,002,0002,510,848
10Jan 11, 2026 00:023,091122,886,109101,010,0001,000,0002,510,848
11Jan 10, 2026 23:563,115121,417,749100,809,0001,996,0002,535,424
12Jan 11, 2026 00:023,120129,904,827101,971,000999,0002,273,280
13Jan 10, 2026 23:563,130125,318,586100,289,0003,008,0002,416,640
14Jan 11, 2026 00:023,145129,910,461101,805,0001,996,0002,404,352
15Jan 10, 2026 23:563,148131,829,194102,901,000999,0002,404,352
16Jan 11, 2026 00:093,149127,003,776102,933,000999,0002,535,424
17Jan 11, 2026 00:093,175135,499,882102,783,0001,995,0002,535,424
18Jan 10, 2026 23:563,180126,275,421102,928,0001,998,0002,412,544
19Jan 11, 2026 00:023,185132,983,050103,116,0002,002,0002,273,280
20Jan 10, 2026 23:563,269127,119,449106,891,000998,0002,510,848
21Jan 11, 2026 00:023,491142,396,611114,203,0001,001,0002,420,736