freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-117-red-green-and-b...

617 B
Raw Blame History

id title challengeType videoUrl
5900f3e21000cf542c50fef4 问题117红色绿色和蓝色瓷砖 5

--description--

使用黑色正方形瓷砖和椭圆形瓷砖的组合,选自:测量两个单位的红色瓷砖,测量三个单位的绿色瓷砖和测量四个单位的蓝色瓷砖,可以以十五种不同的方式平铺一个长度为五个单位的行。

一行测量五十个单位长度的平铺方式有多少注意这与问题116有关。

--hints--

euler117()应该返回100808458960497。

assert.strictEqual(euler117(), 100808458960497);

--solutions--