* 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>
819 B
819 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f3bc1000cf542c50fecf | 问题80:平方根数字扩展 | 5 | problem-80-square-root-digital-expansion |
--description--
众所周知,如果自然数的平方根不是整数,那么它是不合理的。这种平方根的十进制扩展是无限的,没有任何重复模式。二的平方根是1.41421356237309504880 ...,前一百个十进制数字的数字和是475.对于前一百个自然数,找到所有的前一百个十进制数字的数字总和的总和。不合理的平方根。
--hints--
euler80()
应返回40886。
assert.strictEqual(euler80(), 40886);
--seed--
--seed-contents--
function sqrtDigitalExpansion() {
return true;
}
sqrtDigitalExpansion();
--solutions--
// solution required