58 lines
1.9 KiB
Markdown
58 lines
1.9 KiB
Markdown
---
|
||
id: 5900f4b91000cf542c50ffcb
|
||
challengeType: 5
|
||
title: 'Problem 332: Spherical triangles'
|
||
forumTopicId: 301990
|
||
localeTitle: 'Задача 332: Сферические треугольники'
|
||
---
|
||
|
||
## Description
|
||
<section id='description'>
|
||
Сферический треугольник представляет собой фигуру, образованную на поверхности сферы тремя большими круговыми дугами, пересекающимися попарно в трех вершинах. <p> Пусть C (r) - сфера с центром (0,0,0) и радиусом r. Пусть Z (r) - множество точек на поверхности C (r) с целыми координатами. Пусть T (r) - множество сферических треугольников с вершинами в Z (r). Вырожденные сферические треугольники, образованные тремя точками на одной большой дуге, не входят в T (r). Пусть A (r) - площадь самого малого сферического треугольника в T (r). </p><p> Например, A (14) составляет 3,294040, округленное до шести знаков после запятой. </p><p> Найти A (r). Дайте ваш ответ округленным до шести знаков после запятой. </p>
|
||
</section>
|
||
|
||
## Instructions
|
||
<section id='instructions'>
|
||
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler332()</code> should return 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>
|