Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-226-a-scoop-of-blancmange.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

825 B
Raw Blame History

id, title, challengeType, videoUrl, dashedName
id title challengeType videoUrl dashedName
5900f4511000cf542c50ff62 问题226Blancmange的一个独家新闻 5 problem-226-a-scoop-of-blancmange

--description--

blancmange曲线是点xy的集合使得0≤x≤1并且其中sx=从x到最接近的整数的距离。

blancmange曲线下面积等于½如下图所示为粉红色。

设C为中心¼½和半径¼的圆在图中以黑色显示。

blancmange曲线下面的哪个区域被C包围将你的答案四舍五入到小数点后八位的形式为0.abcdefgh

--hints--

euler226()应该返回0.11316017。

assert.strictEqual(euler226(), 0.11316017);

--seed--

--seed-contents--

function euler226() {

  return true;
}

euler226();

--solutions--

// solution required