📜  不浪费原料的汉堡数量 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:56.784000             🧑  作者: Mango

代码示例1
Input: tomatoSlices = 16, cheeseSlices = 7
Output: [1,6]
Explantion: To make one jumbo burger and 6 small burgers we need 4*1 + 2*6 = 16 tomato and 1 + 6 = 7 cheese. There will be no remaining ingredients.