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, 2026 10:41Victor MerckléVictor MerckléScore: 5,164Success
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, 2026 10:425,126176,587,547132,488,00036,686,0002,113,536
2Jun 22, 2026 10:425,131176,885,130132,708,00036,645,0002,113,536
3Jun 22, 2026 10:425,139177,299,605132,785,00036,809,0002,113,536
4Jun 22, 2026 10:425,160177,841,454133,576,00036,716,0002,113,536
5Jun 22, 2026 10:425,164178,060,551132,620,00037,821,0002,113,536
6Jun 22, 2026 10:425,171178,605,472132,852,00037,794,0002,113,536
7Jun 22, 2026 10:425,182178,572,326133,128,00037,881,0002,113,536
8Jun 22, 2026 10:425,189179,195,445133,543,00037,711,0002,113,536
9Jun 22, 2026 10:425,200179,457,734133,724,00037,893,0002,113,536