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 14:45Josu San MartinJosu San MartinScore: 4,479Success
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 14:454,469176,759,107145,458,0002,006,0002,289,664
2Jan 10, 2026 14:454,475174,767,023146,693,000997,0002,289,664
3Jan 10, 2026 14:464,475177,746,791145,679,0001,995,0002,396,160
4Jan 10, 2026 14:464,476176,088,460145,700,0001,995,0002,396,160
5Jan 10, 2026 14:464,476170,174,959146,709,000998,0002,289,664
6Jan 10, 2026 14:464,477170,084,530145,718,0002,009,0002,404,352
7Jan 10, 2026 14:454,478175,021,362145,762,0001,996,0002,289,664
8Jan 10, 2026 14:464,478171,177,481145,773,0001,996,0002,400,256
9Jan 10, 2026 14:464,478173,793,451145,792,0001,997,0002,396,160
10Jan 10, 2026 14:454,479170,978,189145,818,0001,997,0002,400,256
11Jan 10, 2026 14:454,480176,044,513145,842,0001,997,0002,289,664
12Jan 10, 2026 14:464,480171,231,794145,856,0001,998,0002,396,160
13Jan 10, 2026 14:454,482177,781,582145,888,0002,012,0002,404,352
14Jan 10, 2026 14:454,483171,218,372146,936,000999,0002,285,568
15Jan 10, 2026 14:464,484170,532,012146,967,000999,0002,510,848
16Jan 10, 2026 14:454,487169,628,331146,082,0002,001,0002,510,848
17Jan 10, 2026 14:454,520170,469,799148,157,0001,001,0002,396,160
18Jan 10, 2026 14:464,531178,524,084148,514,0001,003,0002,289,664