Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-348-sum-of-a-square-and-a-cube.chinese.md
Kristofer Koishigawa b3213fc892 fix(i18n): chinese test suite (#38220)
* fix: Chinese test suite

Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working.

* fix: ran script, updated testStrings and solutions
2020-03-03 18:49:47 +05:30

1.1 KiB
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4c81000cf542c50ffdb 5 Problem 348: Sum of a square and a cube 问题348正方形和立方体的总和

Description

许多数字可以表示为正方形和立方体的总和。其中一些不止一种。

考虑可以用4种不同方式表示为正方形和立方体之和的回文数均大于1。例如5229225是一个回文数字它可以用4种不同的方式表示22852 + 203 22232 + 663 18102 + 1253 11972 + 1563

找出五个最小的这种回文数的总和。

Instructions

Tests

tests:
  - text: <code>euler348()</code>应返回1004195061。
    testString: assert.strictEqual(euler348(), 1004195061);

Challenge Seed

function euler348() {
  // Good luck!
  return true;
}

euler348();

Solution

// solution required