Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-412-gnomon-numbering.russian.md

55 lines
1.6 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: 5900f5081000cf542c51001a
challengeType: 5
title: 'Problem 412: Gnomon numbering'
videoUrl: ''
localeTitle: 'Задача 412: нумерация Gnomon'
---
## Description
<section id="description"> Для целых чисел m, n (0 ≤ n &lt;m) пусть L (m, n) - сетка m × m с удаленной сеткой с верхним правом n × n. <p> Например, L (5, 3) выглядит так: </p><p> Мы хотим подсчитать каждую ячейку L (m, n) целыми целыми числами 1, 2, 3, ... так, чтобы число в каждой ячейке было меньше, чем число ниже ее и слева от него. </p><p> Например, вот две допустимые номера L (5, 3): </p><p> Пусть LC (m, n) - число допустимых номеров L (m, n). Можно проверить, что LC (3, 0) = 42, LC (5, 3) = 250250, LC (6, 3) = 406029023400 и LC (10, 5) мод 76543217 = 61251715. </p><p> Найдите LC (10000, 5000) mod 76543217. </p></section>
## Instructions
undefined
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler412()</code> должен вернуть 38788800.
testString: 'assert.strictEqual(euler412(), 38788800, "<code>euler412()</code> should return 38788800.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler412() {
// Good luck!
return true;
}
euler412();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>