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 listFeb 16, 2025 19:34Ian MckibbenIan MckibbenScore: 27,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 16, 2025 19:3427,261924,746,113804,669,00094,960,0002,289,664
2Feb 16, 2025 19:3427,311926,055,157813,337,00087,928,0002,367,488
3Feb 16, 2025 19:3427,353927,012,220815,670,00086,964,0002,281,472
4Feb 16, 2025 19:3427,365929,903,411806,158,00096,898,0002,269,184
5Feb 16, 2025 19:3427,406928,739,525838,434,00065,955,0002,531,328
6Feb 16, 2025 19:3427,410929,003,791812,578,00091,952,0002,502,656
7Feb 16, 2025 19:3427,423928,474,607817,067,00087,899,0002,371,584
8Feb 16, 2025 19:3427,424930,943,216813,084,00091,896,0002,285,568
9Feb 16, 2025 19:3427,478927,184,207816,789,00089,976,0002,367,488