Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-99-largest-exponential.russian.md

56 lines
1.8 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: 5900f3d01000cf542c50fee2
challengeType: 5
title: 'Problem 99: Largest exponential'
videoUrl: ''
localeTitle: 'Задача 99: Наибольшая экспоненциальная'
---
## Description
<section id="description"> Сравнение двух чисел, написанных в индексной форме, таких как 211 ​​и 37, не сложно, так как любой калькулятор подтвердил бы, что 211 = 2048 &lt;37 = 2187. Однако подтверждение того, что 632382518061&gt; 519432525806 было бы намного сложнее, так как оба номера содержат более трех миллионов цифр , Используя base_exp.txt (правый щелчок и «Сохранить ссылку / цель как ...»), текстовый файл 22K, содержащий одну тысячу строк с базой / частью экспоненты на каждой строке, определяет, какой номер строки имеет наибольшее числовое значение. ПРИМЕЧАНИЕ. Первые две строки в файле представляют числа в приведенном выше примере. </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler99()</code> должен вернуть 709.
testString: 'assert.strictEqual(euler99(), 709, "<code>euler99()</code> should return 709.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler99() {
// Good luck!
return true;
}
euler99();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>