An edge computing environment needs at least x edge devices and at least y input peripherals. You may buy any non-negative number of individual edge devices, individual input peripherals, and bundles.
An individual edge device costs edgeCost, an individual input peripheral costs inputCost, and each bundle costs bundleCost and contains one edge device and one input peripheral. Extra devices and peripherals are allowed.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected