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.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: 5900f3ca1000cf542c50fedc
title: 问题93算术表达式
challengeType: 5
videoUrl: ''
dashedName: problem-93-arithmetic-expressions
---
# --description--
通过使用集合中的每个数字{1,2,3,4},恰好一次,并利用四个算术运算(+ - \*/)和括号/括号可以形成不同的正整数目标。例如8 =4 \*1 + 3/ 2 14 = 4 \*3 + 1/219 = 4 \*2 + 3 - 1 36 = 3 \* 4 \*2 + 1注数字的连接如12 + 34是不允许的。使用集合{1,2,3,4}可以获得31个不同的目标数其中36个是最大的并且在遇到第一个不可表达之前可以获得数字1到28中的每一个。数。找到四个不同数字的集合a &lt;b &lt;c &lt;d可以获得最长的一组连续正整数1到n给出你的答案字符串abcd。
# --hints--
`euler93()`应返回1258。
```js
assert.strictEqual(euler93(), 1258);
```
# --seed--
## --seed-contents--
```js
function arithmeticExpressions() {
return true;
}
arithmeticExpressions();
```
# --solutions--
```js
// solution required
```