fix: replace .chinese.md extension with .md
This commit is contained in:
@ -0,0 +1,65 @@
|
||||
---
|
||||
id: 5900f4891000cf542c50ff9b
|
||||
challengeType: 5
|
||||
title: 'Problem 284: Steady Squares'
|
||||
videoUrl: ''
|
||||
localeTitle: 问题284:平稳正方形
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id="description">
|
||||
十进制编号系统中的3位数字376是具有特殊属性的数字的示例,该属性的平方以相同的数字结尾:3762 =141376。让我们将具有此属性的数字称为稳定平方。
|
||||
|
||||
在其他编号系统中也可以看到稳定的正方形。 在基数14的编号系统中,三位数c37也是一个稳定的正方形:c372 = aa0c37,并且在同一编号系统中,其位数之和为c + 3 + 7 = 18。 字母a,b,c和d以类似于十六进制编号系统的方式分别用于10、11、12和13位数字。
|
||||
|
||||
对于1≤n≤9,在基数14的编号系统中,所有n位稳定正方形的位总和为2d8(十进制582)。 不允许以0开头的稳定正方形。
|
||||
|
||||
在基数为14的编号系统中找到所有n位稳定正方形的位总和
|
||||
1≤n≤10000(十进制),并在基数为14的系统中根据需要使用小写字母给出答案。
|
||||
</section>
|
||||
|
||||
## Instructions
|
||||
<section id="instructions">
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>euler284()</code>应该返回5a411d7b。
|
||||
testString: assert.strictEqual(euler284(), '5a411d7b');
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
<div id='js-seed'>
|
||||
|
||||
```js
|
||||
function euler284() {
|
||||
// Good luck!
|
||||
return true;
|
||||
}
|
||||
|
||||
euler284();
|
||||
|
||||
```
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
// solution required
|
||||
```
|
||||
|
||||
/section>
|
Reference in New Issue
Block a user