Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-332-spherical-triangles.russian.md

56 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

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: 5900f4b91000cf542c50ffcb
challengeType: 5
title: 'Problem 332: Spherical triangles'
videoUrl: ''
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> должен вернуть 2717.751525.
testString: 'assert.strictEqual(euler332(), 2717.751525, "<code>euler332()</code> should return 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>