* 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>
975 B
975 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f52d1000cf542c510040 | 问题449:巧克力糖果 | 5 | problem-449-chocolate-covered-candy |
--description--
菲尔糖果制造商正在制作一批新的巧克力糖果。每个糖果中心的形状类似于由以下等式定义的旋转椭圆体:b2x2 + b2y2 + a2z2 = a2b2。
菲尔想知道需要多少巧克力来覆盖一个糖果中心,用一层厚厚的巧克力涂层。如果a = 1 mm且b = 1 mm,则所需的巧克力量为
283 π mm3
如果a = 2 mm且b = 1 mm,则所需的巧克力量约为60.35475635 mm3。
如果a = 3 mm且b = 1 mm,则找出所需的mm3巧克力量。将数字舍入到小数点后面的小数点后8位。
--hints--
euler449()
应返回103.37870096。
assert.strictEqual(euler449(), 103.37870096);
--seed--
--seed-contents--
function euler449() {
return true;
}
euler449();
--solutions--
// solution required