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 listJan 2, 2026 23:02zielajzielajScore: 3,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 23:023,116126,812,333100,830,0001,996,0002,506,752
2Jan 2, 2026 23:023,125127,986,439102,124,0001,001,0002,420,736
3Jan 2, 2026 23:023,139131,915,480102,593,0001,005,0002,535,424
4Jan 2, 2026 23:023,177129,031,907103,857,000998,0002,420,736
5Jan 2, 2026 23:023,214131,434,177103,058,0003,001,0002,535,424
6Jan 2, 2026 23:023,231133,458,913105,618,0001,005,0002,441,216
7Jan 2, 2026 23:023,291132,844,865107,600,0001,005,0002,506,752
8Jan 2, 2026 23:023,301128,437,273106,950,0001,999,0002,420,736
9Jan 2, 2026 23:023,319134,105,477107,511,0002,009,0002,535,424