freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-282-the-ackermann-f...

56 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f4861000cf542c50ff99
challengeType: 5
title: 'Problem 282: The Ackermann function'
videoUrl: ''
localeTitle: 'Задача 282: функция Аккермана'
---
## Description
<section id="description"> Для неотрицательных целых чисел m, n функция Аккермана A (m, n) определяется следующим образом: <p> Например, A (1, 0) = 2, A (2, 2) = 7 и A (3, 4) = 125. </p><p> Найдите A (n, n) и дайте свой ответ mod 148. </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler282()</code> должен вернуть 1098988351.
testString: 'assert.strictEqual(euler282(), 1098988351, "<code>euler282()</code> should return 1098988351.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler282() {
// Good luck!
return true;
}
euler282();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>