freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-206-concealed-squar...

854 B
Raw Blame History

id challengeType title videoUrl localeTitle
5900f43a1000cf542c50ff4d 5 Problem 206: Concealed Square 问题206隐藏的广场

Description

找到唯一的正整数其正方形的形式为1_2_3_4_5_6_7_8_9_0其中每个“_”是一个数字。

Instructions

Tests

tests:
  - text: <code>euler206()</code>应该返回1389019170。
    testString: 'assert.strictEqual(euler206(), 1389019170, "<code>euler206()</code> should return 1389019170.");'

Challenge Seed

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

euler206();

Solution

// solution required