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 16:32Ian MckibbenIan MckibbenScore: 15,941Success
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 16:3215,877553,107,692446,953,00076,991,0002,318,336
2Jun 22, 2025 16:3215,911553,311,625435,055,00090,011,0002,281,472
3Jun 22, 2025 16:3215,917544,139,164449,369,00075,893,0002,314,240
4Jun 22, 2025 16:3215,924548,883,289450,571,00074,928,0002,318,336
5Jun 22, 2025 16:3215,941552,262,192445,046,00081,008,0002,408,448
6Jun 22, 2025 16:3215,950548,191,358457,423,00068,913,0002,289,664
7Jun 22, 2025 16:3215,985547,115,799453,584,00073,932,0002,310,144
8Jun 22, 2025 16:3215,985549,675,077454,588,00072,933,0002,392,064
9Jun 22, 2025 16:3216,287565,788,617459,536,00077,921,0002,424,832