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 listDec 30, 2025 21:14Aman | अमनAman | अमनScore: 312,998Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 21:14311,67310,317,154,48210,242,251,00042,971,0002,457,600
2Dec 30, 2025 21:14311,72510,320,440,35710,238,965,00047,971,0002,281,472
3Dec 30, 2025 21:14312,35510,344,450,51510,259,736,00047,970,0002,519,040
4Dec 30, 2025 21:14312,83310,354,563,69210,285,524,00037,979,0002,428,928
5Dec 30, 2025 21:14312,99810,362,507,00110,298,952,00029,982,0002,330,624
6Dec 30, 2025 21:14313,42110,376,515,12610,294,918,00047,971,0002,277,376
7Dec 30, 2025 21:14314,72010,424,968,24410,341,806,00043,969,0002,433,024
8Dec 30, 2025 21:14314,74610,426,547,77010,353,651,00032,979,0002,330,624
9Dec 30, 2025 21:14314,77610,421,013,53910,346,636,00040,974,0002,506,752