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

39 lines
1.3 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: 5900f3d61000cf542c50fee8
title: 问题105特殊子集总和测试
challengeType: 5
videoUrl: ''
dashedName: problem-105-special-subset-sums-testing
---
# --description--
设SA表示大小为n的集合A中的元素之和。如果对于任何两个非空的不相交子集B和C我们将其称为特殊和集合以下属性为真SB≠SC;也就是说子集的总和不能相等。如果B包含的元素多于C则SB> SC。例如{81,88,75,42,87,84,86,65}不是一个特殊的和集因为65 + 87 + 88 = 75 + 81 + 84而{157,150,164,119,79 159,161,139,158}满足所有可能的子集对组合的规则并且SA= 1286.使用sets.txt右键单击并“将链接/目标另存为...”4K文本文件包含七到十二个元素的一百个集合上面给出的两个例子是文件中的前两个集合识别所有特殊的和集A1A2...Ak并找到S的值 A1+ SA2+ ... + SAk。注意此问题与问题103和问题106有关。
# --hints--
`euler105()`应返回73702。
```js
assert.strictEqual(euler105(), 73702);
```
# --seed--
## --seed-contents--
```js
function euler105() {
return true;
}
euler105();
```
# --solutions--
```js
// solution required
```