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 27, 2026 13:49Victor MerckléVictor MerckléScore: 155,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 13:51140,0174,628,524,5134,572,391,00048,197,0002,117,632stderr
2Jun 27, 2026 13:51141,2684,669,582,8344,613,858,00047,988,0002,117,632stderr
3Jun 27, 2026 13:51143,6124,747,095,2854,691,182,00048,018,0002,117,632stderr
4Jun 27, 2026 13:51151,9885,023,363,3614,967,460,00048,164,0002,117,632stderr
5Jun 27, 2026 13:51155,0285,123,843,2875,067,886,00048,065,0002,117,632stderr
6Jun 27, 2026 13:51156,0365,156,954,9085,101,152,00048,051,0002,117,632stderr
7Jun 27, 2026 13:51169,7925,611,584,5705,555,440,00047,706,0002,117,632stderr
8Jun 27, 2026 13:51180,1465,953,099,0645,896,795,00048,040,0002,117,632stderr
9Jun 27, 2026 13:51181,2555,989,424,8215,933,435,00047,995,0002,117,632stderr