freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-76-counting-summati...

438 B
Raw Blame History

id title challengeType videoUrl
5900f3b81000cf542c50fecb 问题76计算总结 5

--description--

可以用六种不同的方式将五个作为总和写成4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1多少个不同一百种方式可以写成至少两个正整数的总和

--hints--

euler76()应该返回190569291。

assert.strictEqual(euler76(), 190569291);

--solutions--