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 listJun 5, 2025 18:42Andrew AshworthAndrew AshworthScore: 493,615Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2025 18:42491,18516,254,554,45616,117,167,00091,943,0002,482,176
2Jun 5, 2025 18:42492,14516,279,022,94616,139,852,000100,942,0002,334,720
3Jun 5, 2025 18:42492,53716,295,358,38916,146,784,000106,938,0002,420,736
4Jun 5, 2025 18:42492,76016,300,967,94716,160,136,000100,944,0002,383,872
5Jun 5, 2025 18:42493,61516,324,874,45716,213,327,00075,954,0002,433,024
6Jun 5, 2025 18:42495,81016,397,902,51216,263,783,00097,944,0002,326,528
7Jun 5, 2025 18:42496,07516,403,053,02116,277,529,00092,940,0002,469,888
8Jun 5, 2025 18:42496,46816,426,456,74216,278,518,000104,932,0002,486,272
9Jun 5, 2025 18:42500,71016,565,768,55116,410,493,000112,934,0002,494,464