freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-257-angular-bisecto...

56 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f46e1000cf542c50ff80
challengeType: 5
videoUrl: ''
title: 问题257角度平分器
---
## Description
<section id="description">给定是一个整数边三角形ABC边a≤b≤c。 AB = cBC = a且AC = b。三角形的角平分线在点EF和G处与两侧相交见下图<p>段EFEG和FG将三角形ABC划分为四个较小的三角形AEGBFECGF和EFG。可以证明对于这四个三角形中的每一个比率区域ABC/面积(子三角形)是合理的。然而,存在这些比率中的一些或全部是积分的三角形。 </p><p>存在多少个周长≤100,000,000的三角形ABC以便比率面积ABC/面积AEG是整数 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler257()</code>应该返回139012411。
testString: assert.strictEqual(euler257(), 139012411);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler257() {
// Good luck!
return true;
}
euler257();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>