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 listJun 22, 2025 06:02Ian MckibbenIan MckibbenScore: 17,355Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2025 06:0217,141588,686,676482,697,00082,948,0002,285,568
2Jun 22, 2025 06:0217,160595,145,942484,381,00081,895,0002,539,520
3Jun 22, 2025 06:0217,184590,523,991472,049,00095,009,0002,379,776
4Jun 22, 2025 06:0217,233592,343,709501,738,00066,965,0002,277,376
5Jun 22, 2025 06:0217,355599,626,619489,749,00082,957,0002,404,352
6Jun 22, 2025 06:0217,372600,301,346497,367,00075,903,0002,277,376
7Jun 22, 2025 06:0217,458600,310,148510,210,00065,897,0002,539,520
8Jun 22, 2025 06:0217,524600,633,340488,414,00089,892,0002,486,272
9Jun 22, 2025 06:0217,569605,478,311504,808,00074,971,0002,506,752