通过仔细计数可以看出,3×2的矩形网格包含十八个矩形:
虽然不存在包含正好两百万个矩形的矩形网格,但是找到最近解的网格区域。
euler85()应该返回2772。
euler85()
assert.strictEqual(euler85(), 2772);