56 lines
1.8 KiB
Markdown
56 lines
1.8 KiB
Markdown
---
|
||
id: 5900f4591000cf542c50ff6b
|
||
challengeType: 5
|
||
title: 'Problem 236: Luxury Hampers'
|
||
videoUrl: ''
|
||
localeTitle: 问题236:豪华礼篮
|
||
---
|
||
|
||
## Description
|
||
<section id="description">供应商'A'和'B'为奢侈品篮子市场提供以下数量的产品: <p> Product'A“B'Beluga Caviar5248640Christmas Cake13121888Gammon Joint26243776Vintage Port57603776Champagne Truffles39365664 </p><p>虽然供应商非常努力地将货物运送到完美的状态,但不可避免地会有一些变质 - 即产品变坏了。 </p><p>供应商使用两种类型的统计数据来比较他们的表现:每个供应商的五个每个产品的腐败率等于坏的产品数量除以供应的产品数量,依次为五个产品中的每一个。每个供应商的整体腐败率等于坏的产品总数除以该供应商提供的产品总数。令他们惊讶的是,供应商发现五种每种产品的腐败率都更差(更高) )对于'B'而不是'A'由相同的因子(腐败率的比率),m> 1;然而,矛盾的是,'A'的整体腐败率比'B'更差,也是m倍。 </p><p>有三十五米> 1,这个惊人的结果可能会发生,其中最小的是1476/1475。 </p><p> m的最大可能值是多少?以u / v的形式将答案缩小到最低值。 </p></section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler236()</code>应返回<code>euler236()</code> 。
|
||
testString: 'assert.strictEqual(euler236(), 123 / 59, "<code>euler236()</code> should return 123 / 59.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler236() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler236();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|