2020-09-29 22:09:05 +02:00

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

/section>