Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-322-binomial-coefficients-divisible-by-10.chinese.md
Oliver Eyton-Williams 61460c8601 fix: insert blank line after ```
search and replace ```\n< with ```\n\n< to ensure there's an empty line
before closing tags
2020-08-16 04:45:20 +05:30

947 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4af1000cf542c50ffc1 5 Problem 322: Binomial coefficients divisible by 10 问题322二项式系数可被10整除

Description

Let T(m, n) be the number of the binomial coefficients iCn that are divisible by 10 for n ≤ i < m(i, m and n are positive integers). You are given that T(109, 107-10) = 989697000.

Find T(1018, 1012-10).

Instructions

Tests

tests:
  - text: <code>euler322()</code>应该返回999998760323314000。
    testString: assert.strictEqual(euler322(), 999998760323314000);

Challenge Seed

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

euler322();

Solution

// solution required

/section>