freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-348-sum-of-a-square...

56 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f4c81000cf542c50ffdb
challengeType: 5
videoUrl: ''
title: 问题348正方形和立方体的总和
---
## Description
<section id="description">许多数字可以表示为正方形和立方体的总和。其中一些不止一种。 <p>考虑可以用4种不同方式表示为正方形和立方体之和的回文数均大于1。例如5229225是一个回文数字它可以用4种不同的方式表示22852 + 203 22232 + 663 18102 + 1253 11972 + 1563 </p><p>找出五个最小的这种回文数的总和。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler348()</code>应返回1004195061。
testString: assert.strictEqual(euler348(), 1004195061);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler348() {
// Good luck!
return true;
}
euler348();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>