* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
1.2 KiB
1.2 KiB
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4751000cf542c50ff87 | 问题264:三角中心 | 5 | problem-264-triangle-centres |
--description--
考虑所有三角形:格点上的所有顶点。原点O. Orthocentre在圆点H(5,0)处的圆环。有九个这样的三角形,其周长≤50。按周长的升序列出并显示,它们是:
A(-4,3),B(5,0),C(4,-3)A(4,3),B(5,0),C(-4,-3)A(-3,4) ),B(5,0),C(3,-4)A(3,4),B(5,0),C(-3,-4)A(0,5),B(5,0) ),C(0,-5)A(1,8),B(8,-1),C(-4,-7)A(8,1),B(1,-8),C( - 4,7)A(2,9),B(9,-2),C(-6,-7)A(9,2),B(2,-9),C(-6,7)
他们的周长总和,四舍五入到小数点后四位,是291.0089。
查找周长≤105的所有此类三角形。输入其周长的总和四舍五入到小数点后四位。
--hints--
euler264()
应该返回2816417.1055。
assert.strictEqual(euler264(), 2816417.1055);
--seed--
--seed-contents--
function euler264() {
return true;
}
euler264();
--solutions--
// solution required