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 listJun 11, 2026 15:20Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 06:13C#_user10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 06:15040,786,91118,586,00011,772,0002,121,728expected "1000033 ", got "8844 "
2Sep 9, 2026 06:15040,011,71719,023,00010,952,0002,121,728expected "1000033 ", got "8844 "
3Sep 9, 2026 06:15040,332,67819,046,00010,942,0002,121,728expected "1000033 ", got "8844 "
4Jun 11, 2026 15:246,527224,474,559176,535,00038,866,0002,121,728
5Jun 11, 2026 15:246,528224,610,319176,580,00038,852,0002,121,728
6Jun 11, 2026 15:246,533224,681,912176,545,00039,046,0002,121,728
7Jun 11, 2026 15:246,534224,512,502176,568,00039,056,0002,121,728
8Jun 11, 2026 15:246,535224,734,613176,695,00038,983,0002,121,728
9Jun 11, 2026 15:246,535224,607,572176,689,00038,990,0002,121,728
10Jun 11, 2026 15:246,559225,584,453177,425,00039,044,0002,121,728
11Jun 11, 2026 15:246,576225,967,679177,743,00039,272,0002,121,728
12Jun 11, 2026 15:246,672229,415,263182,024,00038,173,0002,121,728