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 listAug 24, 2026 16:51Andrew EpsteinAndrew EpsteinScore: 23,823Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2026 16:5623,777795,234,494755,515,00029,141,0002,113,536
2Aug 24, 2026 16:5623,782795,513,127755,266,00029,555,0002,113,536
3Aug 24, 2026 16:5623,804795,388,727755,398,00030,165,0002,113,536
4Aug 24, 2026 16:5623,807795,444,545756,713,00028,921,0002,113,536
5Aug 24, 2026 16:5623,823796,064,770756,898,00029,281,0002,113,536
6Aug 24, 2026 16:5623,839796,594,146757,038,00029,659,0002,113,536
7Aug 24, 2026 16:5623,853797,011,938758,021,00029,128,0002,113,536
8Aug 24, 2026 16:5623,863797,406,456757,071,00030,439,0002,113,536
9Aug 24, 2026 16:5623,994801,606,527762,428,00029,397,0002,113,536