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:09Aman | अमनAman | अमनScore: 313,902Success
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:09312,37710,341,726,59610,273,459,00034,977,0002,371,584
2Dec 30, 2025 21:09312,83810,356,236,27910,278,697,00044,972,0002,457,600
3Dec 30, 2025 21:09313,13310,365,711,64910,293,404,00039,978,0002,416,640
4Dec 30, 2025 21:09313,23110,371,193,27910,289,646,00046,970,0002,293,760
5Dec 30, 2025 21:09313,90210,394,406,79810,315,800,00042,974,0002,506,752
6Dec 30, 2025 21:09314,32210,406,415,80810,330,665,00041,974,0002,277,376
7Dec 30, 2025 21:09314,45910,414,850,82310,335,178,00041,972,0002,322,432
8Dec 30, 2025 21:09314,49310,411,242,39210,337,297,00040,973,0002,441,216
9Dec 30, 2025 21:09315,91010,465,480,61110,383,048,00041,971,0002,383,872