2018-10-10 18:03:03 -04:00
---
id: 5900f4d01000cf542c50ffe3
challengeType: 5
title: 'Problem 356: Largest roots of cubic polynomials'
2019-08-28 16:26:13 +03:00
forumTopicId: 302016
2018-10-10 18:03:03 -04:00
localeTitle: 'Задача 356: Крупнейшие корни кубических многочленов'
---
## Description
2019-08-28 16:26:13 +03:00
<section id='description'>
Пусть an - наибольший вещественный корень многочлена g (x) = x3 - 2n · x2 + n. Например, a2 = 3.86619826 ... <p> Найдите последние восемь цифр. </p><p> Примечание: представляет функцию пола. </p>
</section>
2018-10-10 18:03:03 -04:00
## Instructions
2019-08-28 16:26:13 +03:00
<section id='instructions'>
2018-10-10 18:03:03 -04:00
</section>
## Tests
<section id='tests'>
```yml
tests:
2019-08-28 16:26:13 +03:00
- text: <code>euler356()</code> should return 28010159.
testString: assert.strictEqual(euler356(), 28010159);
2018-10-10 18:03:03 -04:00
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler356() {
// Good luck!
return true;
}
euler356();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
2019-08-28 16:26:13 +03:00
2018-10-10 18:03:03 -04:00
</section>