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 11, 2025 00:05Ian MckibbenIan MckibbenScore: 86,312Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 00:0585,7352,854,617,8462,800,271,00028,982,0002,424,832
2Jan 11, 2025 00:0585,8642,861,348,0032,802,528,00030,983,0002,314,240
3Jan 11, 2025 00:0585,8742,863,605,1272,803,855,00029,987,0002,437,120
4Jan 11, 2025 00:0586,3102,874,055,0782,817,248,00030,980,0002,347,008
5Jan 11, 2025 00:0586,3122,873,684,4612,811,333,00036,978,0002,510,848
6Jan 11, 2025 00:0586,5922,885,302,7672,817,581,00039,965,0002,371,584
7Jan 11, 2025 00:0587,3122,904,511,3182,845,311,00035,978,0002,494,464
8Jan 11, 2025 00:0587,4422,909,723,8242,858,592,00026,986,0002,326,528
9Jan 11, 2025 00:0587,8962,933,600,2582,869,576,00030,984,0002,314,240