Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-98-anagramic-squares.chinese.md

56 lines
1.4 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: 5900f3cf1000cf542c50fee1
challengeType: 5
title: 'Problem 98: Anagramic squares'
videoUrl: ''
localeTitle: 问题98Anagramic正方形
---
## Description
<section id="description">通过分别用1,2,9和6替换单词CARE中的每个字母我们形成一个正方形数字1296 = 362.值得注意的是通过使用相同的数字替换anagramRACE形成一个正方形数字9216 = 962.我们将CARE和RACE称为方形字谜字对并进一步指定不允许前导零不同的字母也不能与另一个字母具有相同的数字值。使用words.txt右键单击和“保存链接/目标为...”一个包含近两千个常用英语单词的16K文本文件找到所有方形字谜词对一个回文词不被认为是一个自己的字谜。这种货币对的任何成员形成的最大平方数是多少注意形成的所有字谜必须包含在给定的文本文件中。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler98()</code>应该返回18769。
testString: 'assert.strictEqual(euler98(), 18769, "<code>euler98()</code> should return 18769.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler98() {
// Good luck!
return true;
}
euler98();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>