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 30, 2026 15:13Victor MerckléVictor MerckléScore: 3,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2026 15:143,726130,998,948121,818,0001,171,0002,117,632stderr
2Jun 30, 2026 15:143,727132,291,578121,868,0001,125,0002,117,632stderr
3Jun 30, 2026 15:143,733130,953,607122,073,0001,126,0002,117,632stderr
4Jun 30, 2026 15:143,734131,030,260122,060,0001,171,0002,117,632stderr
5Jun 30, 2026 15:143,736131,229,900122,170,0001,129,0002,117,632stderr
6Jun 30, 2026 15:143,736130,966,067122,120,0001,173,0002,117,632stderr
7Jun 30, 2026 15:143,737131,139,244122,220,0001,118,0002,117,632stderr
8Jun 30, 2026 15:143,738131,289,700122,256,0001,118,0002,117,632stderr
9Jun 30, 2026 15:143,741131,251,992122,305,0001,178,0002,117,632stderr