876 B
876 B
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f4af1000cf542c50ffc1 | Problema 322: Coeficientes binomiais divisíveis por 10 | 5 | 301979 | problem-322-binomial-coefficients-divisible-by-10 |
--description--
Considere T(m, n)
como o número de coeficientes binomiais {}^iC_n
que são divisíveis por 10 para n ≤ i < m
(i
, m
e n
são números inteiros positivos).
Você é informado de que T({10}^9, {10}^7 - 10) = 989.697.000
.
Encontre T({10}^{18}, {10}^{12} - 10)
.
--hints--
binomialCoefficientsDivisibleBy10()
deve retornar 999998760323314000
.
assert.strictEqual(binomialCoefficientsDivisibleBy10(), 999998760323314000);
--seed--
--seed-contents--
function binomialCoefficientsDivisibleBy10() {
return true;
}
binomialCoefficientsDivisibleBy10();
--solutions--
// solution required