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 12:08zielajzielajScore: 3,425Success
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 12:053,312137,340,785107,292,0002,005,0002,535,424
2Jan 2, 2026 12:053,321141,025,904108,598,0001,005,0002,412,544
3Jan 2, 2026 12:083,331134,180,944106,927,0002,997,0002,416,640
4Jan 2, 2026 12:053,335137,372,996108,070,0002,001,0002,535,424
5Jan 2, 2026 12:053,369132,405,133110,180,0001,001,0002,273,280
6Jan 2, 2026 12:053,395132,044,132110,039,0002,000,0002,535,424
7Jan 2, 2026 12:053,425135,295,894111,040,0002,000,0002,408,448
8Jan 2, 2026 12:053,429142,563,984112,166,0001,001,0002,310,144
9Jan 2, 2026 12:053,452141,261,413111,931,0001,998,0002,293,760
10Jan 2, 2026 12:083,466136,088,894112,357,0002,006,0002,412,544
11Jan 2, 2026 12:053,668143,492,414119,046,0002,000,0002,416,640
12Jan 2, 2026 12:083,773151,248,327122,502,0002,008,0002,494,464