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 14:19Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 23:10Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 00:410258,863,452208,669,00040,111,0002,121,728expected "2919932 ", got "1444060 "
2Sep 5, 2026 00:410263,849,575213,936,00039,875,0002,121,728expected "2919925 ", got "1444068 "
3Sep 5, 2026 00:410260,211,677210,054,00040,176,0002,121,728expected "2919949 ", got "1444067 "
4Jun 11, 2026 14:226,520224,180,244176,965,00038,200,0002,121,728
5Jun 11, 2026 14:226,527224,499,509176,361,00039,044,0002,121,728
6Jun 11, 2026 14:226,528224,543,142176,468,00038,986,0002,121,728
7Jun 11, 2026 14:226,535224,740,818176,683,00038,992,0002,121,728
8Jun 11, 2026 14:226,542224,910,592176,771,00039,139,0002,121,728
9Jun 11, 2026 14:226,559225,471,029177,492,00038,962,0002,121,728
10Jun 11, 2026 14:226,566225,681,439177,525,00039,158,0002,121,728
11Jun 11, 2026 14:226,631227,958,733180,802,00038,048,0002,121,728
12Jun 11, 2026 14:226,647228,514,751181,236,00038,131,0002,121,728