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 listOct 9, 2026 08:17Karthik ReddyKarthik ReddyScore: 2,771Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 09:302,67797,216,93287,335,0001,015,00020,480
2Oct 9, 2026 09:302,72999,016,24089,025,0001,041,00020,480
3Oct 9, 2026 09:302,73799,274,22089,314,0001,036,00020,480
4Oct 9, 2026 09:302,74299,537,16789,493,0001,024,00020,480
5Oct 9, 2026 09:302,771100,988,41990,394,0001,074,00020,480
6Oct 9, 2026 09:302,774100,463,22790,498,0001,069,00020,480
7Oct 9, 2026 09:302,785100,799,19790,831,0001,083,00020,480
8Oct 9, 2026 09:302,801101,349,24891,426,0001,033,00020,480
9Oct 9, 2026 09:302,801101,271,51391,335,0001,107,00020,480