---
id: 5900f42b1000cf542c50ff3d
challengeType: 5
title: 'Problem 190: Maximising a weighted product'
videoUrl: ''
localeTitle: 'Problema 190: Maximizando um Produto Ponderado'
---

## Description
<section id="description"> Seja Sm = (x1, x2, ..., xm) a m-tupla de números reais positivos com x1 + x2 + ... + xm = m para os quais Pm = x1 * x22 * ... * xmm é maximizado . <p> Por exemplo, pode ser verificado que [P10] = 4112 ([] é a função da parte inteira). </p><p> Encontre Σ [Pm] para 2 ≤ m ≤ 15. </p></section>

## Instructions
<section id="instructions">
</section>

## Tests
<section id='tests'>

```yml
tests:
  - text: <code>euler190()</code> deve retornar 371048281.
    testString: 'assert.strictEqual(euler190(), 371048281, "<code>euler190()</code> should return 371048281.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function euler190() {
  // Good luck!
  return true;
}

euler190();

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
