56 lines
1.0 KiB
Markdown
56 lines
1.0 KiB
Markdown
|
---
|
||
|
id: 5900f4af1000cf542c50ffc1
|
||
|
challengeType: 5
|
||
|
title: 'Problem 322: Binomial coefficients divisible by 10'
|
||
|
videoUrl: ''
|
||
|
localeTitle: 'Problema 322: coeficientes binomiais divisíveis por 10'
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id="description"> Seja T (m, n) o número dos coeficientes binomiais iCn que são divisíveis por 10 para n ≤ i <m (i, m e n são inteiros positivos). Você é dado que T (109, 107-10) = 989697000. <p> Encontre T (1018, 1012-10). </p></section>
|
||
|
|
||
|
## Instructions
|
||
|
<section id="instructions">
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
tests:
|
||
|
- text: <code>euler322()</code> deve retornar 999998760323314000.
|
||
|
testString: 'assert.strictEqual(euler322(), 999998760323314000, "<code>euler322()</code> should return 999998760323314000.");'
|
||
|
|
||
|
```
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Challenge Seed
|
||
|
<section id='challengeSeed'>
|
||
|
|
||
|
<div id='js-seed'>
|
||
|
|
||
|
```js
|
||
|
function euler322() {
|
||
|
// Good luck!
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
euler322();
|
||
|
|
||
|
```
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Solution
|
||
|
<section id='solution'>
|
||
|
|
||
|
```js
|
||
|
// solution required
|
||
|
```
|
||
|
</section>
|