Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-85-counting-rectangles.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

857 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f3c11000cf542c50fed4 5 Problem 85: Counting rectangles 问题85计算矩形

Description

通过仔细计数可以看出3×2的矩形网格包含十八个矩形

虽然不存在包含正好两百万个矩形的矩形网格,但是找到最近解的网格区域。

Instructions

Tests

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

Challenge Seed

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

euler85();

Solution

// solution required