--- id: 5900f42b1000cf542c50ff3d title: 'Problema 190: Massimizzare un prodotto pesato' challengeType: 5 forumTopicId: 301828 dashedName: problem-190-maximising-a-weighted-product --- # --description-- Sia $S_m = (x_1, x_2, \ldots, x_m)$ la $m$-tuple di numeri reali poisitivi con $x_1 + x_2 + \cdots + x_m = m$ per i quali$P_m = x_1 \times {x_2}^2 \times \cdots \times {x_m}^m$ è massimizzato. Ad esempio, si può verificare che $[P_{10}] = 4112$ ([ ] è la funzione parte intera). Trova $\sum {[P_m]}$ per $2 ≤ m ≤ 15$. # --hints-- `maximisingWeightedProduct()` dovrebbe restituire `371048281`. ```js assert.strictEqual(maximisingWeightedProduct(), 371048281); ``` # --seed-- ## --seed-contents-- ```js function maximisingWeightedProduct() { return true; } maximisingWeightedProduct(); ``` # --solutions-- ```js // solution required ```