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 listAug 31, 2026 08:36Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 16:57Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 17:08020,019,855,60720,006,575,0004,057,00016,384Killed by timeout
2Aug 31, 2026 08:372,883103,401,41293,032,0002,122,0002,117,632stderr
3Aug 31, 2026 08:372,887103,786,44593,181,0002,113,0002,117,632stderr
4Aug 31, 2026 08:372,889103,908,16593,215,0002,123,0002,117,632stderr
5Aug 31, 2026 08:372,895103,993,10193,420,0002,135,0002,117,632stderr
6Aug 31, 2026 08:372,895103,967,09493,415,0002,130,0002,117,632stderr
7Aug 31, 2026 08:372,898104,137,94093,525,0002,112,0002,117,632stderr
8Aug 31, 2026 08:372,900106,382,70393,537,0002,167,0002,117,632stderr
9Aug 31, 2026 08:372,913104,442,32394,023,0002,119,0002,117,632stderr
10Aug 31, 2026 08:372,932105,467,53494,555,0002,213,0002,117,632stderr