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 9, 2025 01:14Ian MckibbenIan MckibbenScore: 310,090Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 01:14307,55210,186,337,38910,105,255,00043,975,0002,306,048
2Jan 9, 2025 01:14309,08310,231,848,57410,172,757,00026,983,0002,347,008
3Jan 9, 2025 01:14309,09110,235,043,90310,164,027,00035,978,0002,297,856
4Jan 9, 2025 01:14309,71510,256,048,93610,188,612,00031,983,0002,351,104
5Jan 9, 2025 01:14310,09010,269,935,23210,198,002,00034,979,0002,351,104
6Jan 9, 2025 01:14310,29710,275,311,74610,196,843,00042,974,0002,531,328
7Jan 9, 2025 01:14313,08010,369,840,17710,307,652,00023,985,0002,326,528
8Jan 9, 2025 01:14313,32410,371,858,64310,305,697,00033,979,0002,371,584
9Jan 9, 2025 01:14316,24510,473,359,58410,395,123,00040,972,0002,293,760