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 listOct 30, 2026 22:13Andrew EpsteinAndrew EpsteinScore: 23,560Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 22:1723,416783,621,454766,471,0006,267,0002,121,728stderr
2Oct 30, 2026 22:1723,443784,842,053767,328,0006,295,0002,121,728stderr
3Oct 30, 2026 22:1723,443784,788,405767,291,0006,331,0002,121,728stderr
4Oct 30, 2026 22:1723,460786,294,075767,694,0006,493,0002,121,728stderr
5Oct 30, 2026 22:1723,560788,523,604771,002,0006,504,0002,121,728stderr
6Oct 30, 2026 22:1723,616790,605,320773,049,0006,299,0002,121,728stderr
7Oct 30, 2026 22:1723,633791,433,304773,556,0006,347,0002,121,728stderr
8Oct 30, 2026 22:1723,685792,568,858775,359,0006,257,0002,121,728stderr
9Oct 30, 2026 22:1723,959802,070,399784,340,0006,333,0002,121,728stderr