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 28, 2026 12:17Victor MerckléVictor MerckléScore: 3,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 12:183,315117,105,206108,302,0001,094,0002,113,536
2Jun 28, 2026 12:183,316117,583,537108,260,0001,177,0002,113,536
3Jun 28, 2026 12:183,317117,216,248108,343,0001,122,0002,113,536
4Jun 28, 2026 12:183,318117,926,967108,327,0001,174,0002,113,536
5Jun 28, 2026 12:183,320117,430,381108,401,0001,170,0002,113,536
6Jun 28, 2026 12:183,329117,825,961108,753,0001,117,0002,113,536
7Jun 28, 2026 12:183,331117,893,842108,733,0001,192,0002,113,536
8Jun 28, 2026 12:183,332118,088,384108,781,0001,196,0002,113,536
9Jun 28, 2026 12:183,339118,313,438108,982,0001,215,0002,113,536