Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-355-maximal-coprime-subset.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

936 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4d01000cf542c50ffe2 5 Problem 355: Maximal coprime subset 问题355最大互质子集

Description

将Con定义为来自{1,2...n}的一组相互共元素的最大可能和。例如Co10是30并且在子集{1,5,7,8,9}上达到最大值。

给出Co30= 193和Co100= 1356。

找到Co200000

Instructions

Tests

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

Challenge Seed

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

euler355();

Solution

// solution required

/section>