英语题目翻译

题目地址:Cake Baking | JXNUOJ

翻译:

Cake Baking

烤蛋糕

描述:

A banana cake takes 250 flour, 2 bananas, 75 sugar and 100 butter, and a chocolate cake takes 200 flour, 75 cocoa, 150 sugar and 150 butter. The profit of a chocolate cake is 45 and the profit of a banana cake is 40. And we have 4000 flour, 6 bananas, 2000 sugar, 500 butter and 500 cocoa. The question is how many of chocolate cakes and banana cakes should we bake for the fete to maximize the total profit.

一个香蕉蛋糕需要250面粉,两个香蕉,75的糖和100的黄油。一个巧克力蛋糕需要200面粉,75的可可粉,150的糖和黄油。一个巧克力蛋糕的利润是45,一个香蕉蛋糕的利润是40.然后我们有4000的面粉,6条香蕉,2000的糖,500个黄油和500的可可粉。问题是我们应该烤多少个巧克力蛋糕和香蕉蛋糕能够达到总利润最大。

输入:

N/A

输出:

First line: one integer indicating the number of chocolate cakes.
Second line: one integer indicating the number of banana cakes.

第一行:一个整数表明巧克力蛋糕的数量

第二行:一个整数表明香蕉蛋糕的数量

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值