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 21, 2026 08:38Victor MerckléVictor MerckléScore: 6,235Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 08:386,182211,640,420167,356,00036,681,0002,121,728stderr
2Jun 21, 2026 08:386,184211,629,872167,415,00036,678,0002,121,728stderr
3Jun 21, 2026 08:386,192211,781,712166,930,00037,430,0002,121,728stderr
4Jun 21, 2026 08:386,220212,954,934167,687,00037,576,0002,121,728stderr
5Jun 21, 2026 08:386,235213,677,088168,257,00037,528,0002,121,728stderr
6Jun 21, 2026 08:386,248213,945,235169,520,00036,695,0002,121,728stderr
7Jun 21, 2026 08:386,267214,550,238169,065,00037,759,0002,121,728stderr
8Jun 21, 2026 08:386,271215,775,432170,399,00036,564,0002,121,728stderr
9Jun 21, 2026 08:386,281214,745,542169,591,00037,686,0002,121,728stderr