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,548Success
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:14309,32610,244,032,60510,166,791,00040,974,0002,359,296
2Jan 9, 2025 01:14309,60810,255,116,23510,188,086,00028,983,0002,412,544
3Jan 9, 2025 01:14309,71410,248,205,67310,184,586,00035,977,0002,437,120
4Jan 9, 2025 01:14310,02010,267,330,60110,198,686,00031,980,0002,351,104
5Jan 9, 2025 01:14310,54810,283,814,76410,219,117,00028,980,0002,404,352
6Jan 9, 2025 01:14311,68010,321,126,42710,242,465,00042,972,0002,318,336
7Jan 9, 2025 01:14313,31410,377,450,90510,303,380,00035,976,0002,273,280
8Jan 9, 2025 01:14313,64110,384,464,39010,307,186,00042,971,0002,355,200
9Jan 9, 2025 01:14315,43010,442,675,16310,382,199,00026,984,0002,408,448