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,509Success
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,37310,307,795,78110,231,354,00043,971,0002,363,392
2Dec 30, 2025 21:09311,80610,324,974,45410,252,623,00036,977,0002,514,944
3Dec 30, 2025 21:09312,42510,341,668,11510,267,070,00042,970,0002,297,856
4Dec 30, 2025 21:09313,15510,365,228,20410,289,150,00044,974,0002,519,040
5Dec 30, 2025 21:09313,50910,380,577,08710,299,830,00045,972,0002,297,856
6Dec 30, 2025 21:09313,63310,382,556,38810,304,907,00044,973,0002,445,312
7Dec 30, 2025 21:09314,54410,417,837,31810,339,990,00039,972,0002,342,912
8Dec 30, 2025 21:09315,21310,442,550,90410,358,074,00043,970,0002,412,544
9Dec 30, 2025 21:09320,70510,613,215,43610,544,278,00038,971,0002,465,792