num
以下?注:2007年4月24日略微修改了措辞,以强调Lychrel数的理论性质。 countLychrelNumbers(1000)
应该返回13。
testString: assert.strictEqual(countLychrelNumbers(1000), 13);
- text: countLychrelNumbers(5000)
应该返回76。
testString: assert.strictEqual(countLychrelNumbers(5000), 76);
- text: countLychrelNumbers(10000)
应该返回249。
testString: assert.strictEqual(countLychrelNumbers(10000), 249);
- text: 你的函数应该计算所有Lychrel数。
testString: assert.strictEqual(countLychrelNumbers(3243), 39);
- text: 您的函数应该通过所有测试用例。
testString: assert.strictEqual(countLychrelNumbers(7654), 140);
```