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 10, 2026 00:38zielajzielajScore: 3,184Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 00:383,094129,152,679100,102,0002,002,0002,412,544
2Jan 10, 2026 00:383,116127,326,64099,846,0002,995,0002,351,104
3Jan 10, 2026 00:383,119124,859,407100,914,0001,998,0002,416,640
4Jan 10, 2026 00:383,146126,155,551102,805,000998,0002,408,448
5Jan 10, 2026 00:383,184125,758,333103,085,0002,001,0002,535,424
6Jan 10, 2026 00:383,186125,167,426102,122,0003,003,0002,535,424
7Jan 10, 2026 00:383,217131,526,423104,155,0002,002,0002,535,424
8Jan 10, 2026 00:383,219125,231,883103,210,0003,006,0002,535,424
9Jan 10, 2026 00:383,286130,479,171106,427,0002,008,0002,289,664