freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-332-spherical-trian...

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: 5900f4b91000cf542c50ffcb
challengeType: 5
videoUrl: ''
localeTitle: 问题332球形三角形
---
## Description
<section id="description">球面三角形是通过在三个顶点中成对交叉的三个大圆弧形成在球体表面上的图形。 <p>设Cr为具有中心0,0,0和半径r的球体。设Zr为具有整数坐标的Cr表面上的点集。令Tr为顶点为Zr的球形三角形的集合。由相同大弧上的三个点形成的简并球面三角形不包括在Tr中。设Ar为Tr中最小球面三角形的面积。 </p><p>例如A14是3.294040四舍五入到小数点后六位。 </p><p>找到Ar。将您的答案四舍五入到小数点后六位。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler332()</code>应该返回2717.751525。
testString: assert.strictEqual(euler332(), 2717.751525);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler332() {
// Good luck!
return true;
}
euler332();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>