Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-303-multiples-with-small-digits.md
Oliver Eyton-Williams dec409a4bd fix: s/localeTitle/title/g
2020-10-06 23:10:08 +05:30

880 B
Raw Blame History

id, challengeType, videoUrl, title
id challengeType videoUrl title
5900f49b1000cf542c50ffae 5 问题303小数的倍数

Description

对于正整数n将fn定义为n的最小正整数以10为底的数字只能使用≤2的数字。 因此f2= 2f3= 12f7= 21f42= 210f89= 1121222。 另外,。

找 。

Instructions

Tests

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

Challenge Seed

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

euler303();

Solution

// solution required

/section>