Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-142-perfect-square-collection.md

665 B
Raw Permalink Blame History

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f3fa1000cf542c50ff0d 问题 142完全平方数合集 5 301771 problem-142-perfect-square-collection

--description--

请找出最小的 $x + y + z$,其中整数 x > y > z > 0 需要满足 $x + y$、$x y$、$x + z$、$x z$、$y + z$、y z 均为完全平方数。

--hints--

perfectSquareCollection() 应该返回 1006193

assert.strictEqual(perfectSquareCollection(), 1006193);

--seed--

--seed-contents--

function perfectSquareCollection() {

  return true;
}

perfectSquareCollection();

--solutions--

// solution required