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: 314,452Success
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:09311,91810,327,780,55910,252,306,00040,973,0002,273,280
2Dec 30, 2025 21:09312,83410,355,856,14310,280,539,00042,972,0002,453,504
3Dec 30, 2025 21:09313,47310,377,791,31210,300,650,00043,972,0002,273,280
4Dec 30, 2025 21:09313,76710,385,140,69610,306,334,00047,973,0002,523,136
5Dec 30, 2025 21:09314,45210,416,943,23910,335,941,00040,972,0002,449,408
6Dec 30, 2025 21:09314,65410,420,927,63210,339,618,00043,972,0002,334,720
7Dec 30, 2025 21:09315,08810,431,694,61710,357,933,00039,976,0002,441,216
8Dec 30, 2025 21:09315,87510,461,294,24610,371,927,00051,964,0002,527,232
9Dec 30, 2025 21:09318,22710,538,535,32010,459,522,00041,969,0002,514,944