* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
45 lines
998 B
Markdown
45 lines
998 B
Markdown
---
|
||
id: 5900f4b91000cf542c50ffcb
|
||
title: 问题332:球形三角形
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-332-spherical-triangles
|
||
---
|
||
|
||
# --description--
|
||
|
||
球面三角形是通过在三个顶点中成对交叉的三个大圆弧形成在球体表面上的图形。
|
||
|
||
设C(r)为具有中心(0,0,0)和半径r的球体。设Z(r)为具有整数坐标的C(r)表面上的点集。令T(r)为顶点为Z(r)的球形三角形的集合。由相同大弧上的三个点形成的简并球面三角形不包括在T(r)中。设A(r)为T(r)中最小球面三角形的面积。
|
||
|
||
例如,A(14)是3.294040四舍五入到小数点后六位。
|
||
|
||
找到A(r)。将您的答案四舍五入到小数点后六位。
|
||
|
||
# --hints--
|
||
|
||
`euler332()`应该返回2717.751525。
|
||
|
||
```js
|
||
assert.strictEqual(euler332(), 2717.751525);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler332() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler332();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|