Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

You have three types of cakes in stock, represented by an array stock of length 3. You receive multiple orders (each order is also described by three integers for the required quantities of each cake type). An order is fully completed only if the stock has enough cakes for all requested types.

Test Cases
Input
Output
Expected