* 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>
873 B
873 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4cf1000cf542c50ffe1 | 问题354:蜜蜂蜂窝中的距离 | 5 | problem-354-distances-in-a-bees-honeycomb |
--description--
考虑一个蜜蜂的蜂窝,每个细胞是一个完整的正六边形,边长为1。
一只特定的细胞被蜂王占据。对于正实数L,让B(L)计算距蜂王细胞距离为L的细胞(所有距离从中心到中心测量);你可以假设蜂窝大到足以容纳我们想要考虑的任何距离。例如,B(√3)= 6,B(√21)= 12,B(111 111 111)= 54。
求出L≤5·1011的数,使得B(L)= 450。
--hints--
euler354()
应该返回58065134。
assert.strictEqual(euler354(), 58065134);
--seed--
--seed-contents--
function euler354() {
return true;
}
euler354();
--solutions--
// solution required