Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-355-maximal-coprime-subset.md

26 lines
477 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: 5900f4d01000cf542c50ffe2
title: 问题355最大互质子集
challengeType: 5
videoUrl: ''
---
# --description--
将Con定义为来自{1,2...n}的一组相互共元素的最大可能和。例如Co10是30并且在子集{1,5,7,8,9}上达到最大值。
给出Co30= 193和Co100= 1356。
找到Co200000
# --hints--
`euler355()`应返回1726545007。
```js
assert.strictEqual(euler355(), 1726545007);
```
# --solutions--