Given three types of vials with quantities `moonpetal`, `dragonBreath`, and `starlightDew`, find the total number of distinct pairs that can be formed, considering each pair must contain at least one vial of an unidentified substance.
Analyze constraints and compute optimal solutions step-by-step.
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak