freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-77-prime-summations.md

811 B
Raw Blame History

id challengeType videoUrl localeTitle
5900f3b91000cf542c50fecc 5 问题77总结

Description

可以用五种不同的方式将十个作为素数之和7 + 3 5 + 5 5 + 3 + 2 3 + 3 + 2 + 2 2 + 2 + 2 + 2 + 2第一个值是多少可以用五千多种不同的方式写成素数之和

Instructions

Tests

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

Challenge Seed

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

euler77();

Solution

// solution required

/section>