freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-322-binomial-coeffi...

959 B

id localeTitle challengeType title
5 5900f4af1000cf542c50ffc1 5 Problem 322: Binomial coefficients divisible by 10

Description

Sea T (m, n) el número de coeficientes binomiales iCn que son divisibles por 10 para n ≤ i <m (i, myn son enteros positivos). Te dan que T (109, 107-10) = 989697000.

Encuentra T (1018, 1012-10).

Instructions

Tests

tests:
  - text: <code>euler322()</code> debe devolver 999998760323314000.
    testString: 'assert.strictEqual(euler322(), 999998760323314000, "<code>euler322()</code> should return 999998760323314000.");'

Challenge Seed

function euler322() {
  // Good luck!
  return true;
}

euler322();

Solution

// solution required