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 30, 2026 01:19Andrew EpsteinAndrew EpsteinScore: 46,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 01:5546,1621,534,350,4951,515,049,0008,317,0002,121,728stderr
2Oct 30, 2026 01:5546,4501,543,801,4571,524,540,0008,340,0002,121,728stderr
3Oct 30, 2026 01:5546,4971,545,494,2101,526,030,0008,395,0002,121,728stderr
4Oct 30, 2026 01:5546,5021,546,319,3781,526,285,0008,305,0002,121,728stderr
5Oct 30, 2026 01:5546,5931,548,579,7221,529,075,0008,526,0002,121,728stderr
6Oct 30, 2026 01:5546,6201,550,318,4311,529,965,0008,519,0002,121,728stderr
7Oct 30, 2026 01:5546,6671,551,429,0731,531,644,0008,376,0002,121,728stderr
8Oct 30, 2026 01:5546,7301,553,110,9301,533,674,0008,445,0002,121,728stderr
9Oct 30, 2026 01:5546,7521,554,226,5151,534,453,0008,367,0002,121,728stderr