freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-356-largest-roots-of-cubic-polynomials.md
2020-10-06 23:10:08 +05:30

817 B
Raw Blame History

id, challengeType, videoUrl, title
id challengeType videoUrl title
5900f4d01000cf542c50ffe3 5 问题356三次多项式的最大根

Description

设a是多项式的最大实根gx= x3 - 2n·x2 + n。例如a2 = 3.86619826 ......

找到最后八位数字。

注意:代表楼层功能。

Instructions

Tests

tests:
  - text: <code>euler356()</code>应该返回28010159。
    testString: assert.strictEqual(euler356(), 28010159);

Challenge Seed

function euler356() {
  // Good luck!
  return true;
}

euler356();

Solution

// solution required

/section>