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 3, 2025 19:02Martin StensgårdMartin StensgårdScore: 491,839Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2025 19:02487,51016,126,287,94415,990,902,00096,944,0002,478,080
2Oct 3, 2025 19:02488,88716,172,312,74116,039,319,00093,937,0002,412,544
3Oct 3, 2025 19:02489,04916,170,063,35616,052,664,00085,950,0002,355,200
4Oct 3, 2025 19:02491,13916,243,608,97316,115,631,00091,946,0002,457,600
5Oct 3, 2025 19:02491,83916,266,628,00116,136,728,00093,946,0002,457,600
6Oct 3, 2025 19:02492,85316,303,359,70416,170,190,00093,943,0002,441,216
7Oct 3, 2025 19:02493,42216,321,718,81816,167,013,000115,921,0002,342,912
8Oct 3, 2025 19:02493,55716,324,412,50016,198,455,00088,936,0002,461,696
9Oct 3, 2025 19:02498,99316,501,429,36916,375,834,00090,937,0002,260,992