Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-415-titanic-sets.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

47 lines
1.1 KiB
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: 5900f50c1000cf542c51001e
title: 问题415泰坦尼克号集
challengeType: 5
videoUrl: ''
dashedName: problem-415-titanic-sets
---
# --description--
如果存在一条直线恰好经过S中的两个点则一组晶格点S称为钛酸组。
泰坦尼克集的示例是S = {000102112010},其中 通过0120的通道不会通过S中的任何其他点。
另一方面,集合{00112244}不是泰坦尼克号集合,因为穿过集合中任意两点的线也经过 通过其他两个。
对于任何正整数N令TN为每个点xy都满足0≤xy≤N的钛酸集合S的数量。 可以验证T1= 11T2= 494T4= 33554178T111mod 108 = 13500401和T105mod 108 = 63259062。
找出T1011mod 108。
# --hints--
`euler415()`应该返回55859742。
```js
assert.strictEqual(euler415(), 55859742);
```
# --seed--
## --seed-contents--
```js
function euler415() {
return true;
}
euler415();
```
# --solutions--
```js
// solution required
```