Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-410-circle-and-tangent-line.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

56 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f5071000cf542c510018
challengeType: 5
videoUrl: ''
title: 问题410圆和切线
---
## Description
<section id="description">设C为半径为r的圆x2 + y2 = r2。我们选择两个点Pab和Q-ac使得穿过P和Q的线与C相切。 <p>例如四元组rabc=2,6,2-7满足该属性。 </p><p>令FRX为具有该性质的整数四元组rabc的数量并且0 &lt;r≤R且0 &lt;a≤X。 </p><p>我们可以验证F1,5= 10F2,10= 52和F10,100= 3384.求F108,109+ F109,108</p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler410()</code>应该返回799999783589946600。
testString: assert.strictEqual(euler410(), 799999783589946600);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler410() {
// Good luck!
return true;
}
euler410();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>