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 listSep 4, 2026 08:18Victor MerckléVictor MerckléScore: 3,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 08:213,155113,325,149101,957,0002,186,0002,121,728stderr
2Sep 4, 2026 08:213,157113,423,172101,999,0002,195,0002,121,728stderr
3Sep 4, 2026 08:213,160113,536,895102,076,0002,220,0002,121,728stderr
4Sep 4, 2026 08:213,163113,529,707102,167,0002,215,0002,121,728stderr
5Sep 4, 2026 08:213,166113,413,744102,318,0002,185,0002,121,728stderr
6Sep 4, 2026 08:213,174114,598,011102,421,0002,343,0002,121,728stderr
7Sep 4, 2026 08:213,177113,271,121102,616,0002,231,0002,121,728stderr
8Sep 4, 2026 08:213,180114,085,768102,698,0002,267,0002,121,728stderr
9Sep 4, 2026 08:213,188113,762,431102,960,0002,249,0002,121,728stderr