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

28 lines
825 B
Markdown
Raw Normal View History

---
id: 5900f4b91000cf542c50ffcb
title: 问题332球形三角形
challengeType: 5
videoUrl: ''
---
# --description--
球面三角形是通过在三个顶点中成对交叉的三个大圆弧形成在球体表面上的图形。
设Cr为具有中心0,0,0和半径r的球体。设Zr为具有整数坐标的Cr表面上的点集。令Tr为顶点为Zr的球形三角形的集合。由相同大弧上的三个点形成的简并球面三角形不包括在Tr中。设Ar为Tr中最小球面三角形的面积。
例如A14是3.294040四舍五入到小数点后六位。
找到Ar。将您的答案四舍五入到小数点后六位。
# --hints--
`euler332()`应该返回2717.751525。
```js
assert.strictEqual(euler332(), 2717.751525);
```
# --solutions--