Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-412-gnomon-numbering.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

49 lines
976 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: 5900f5081000cf542c51001a
title: 问题412Gnomon编号
challengeType: 5
videoUrl: ''
dashedName: problem-412-gnomon-numbering
---
# --description--
对于整数mn0≤n&lt;m令Lmn为m×m网格其中右上n×n网格被移除。
例如L5,3看起来像这样
我们希望用连续的整数1,2,3 ......对Lmn的每个单元进行编号使得每个单元格中的数字小于它下面和左边的数字。
例如这里有两个有效的L5,3编号
设LCmn为Lmn的有效编号。可以证实LC3,0= 42LC5,3= 250250LC6,3= 406029023400和LC10,5mod 76543217 = 61251715。
找到LC10000,5000mod 76543217。
# --hints--
`euler412()`应该返回38788800。
```js
assert.strictEqual(euler412(), 38788800);
```
# --seed--
## --seed-contents--
```js
function euler412() {
return true;
}
euler412();
```
# --solutions--
```js
// solution required
```