freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-195-inscribed-circl...

1.0 KiB
Raw Blame History

id challengeType videoUrl localeTitle
5900f4311000cf542c50ff43 5 问题195内切三角形的圆形一个角度为60度

Description

让我们称一个整数边三角形其中一个角度为60度一个60度的三角形。设r是这样的60度三角形的内切圆的半径。有1234个60度三角形其中r≤100。设Tn是60度三角形的数量其中r≤n因此T100= 1234T1000= 22767和T 10000= 359912。

找到T1053779

Instructions

Tests

tests:
  - text: <code>euler195()</code>应返回75085391。
    testString: assert.strictEqual(euler195(), 75085391);

Challenge Seed

function euler195() {
  // Good luck!
  return true;
}

euler195();

Solution

// solution required

/section>